Home
last modified time | relevance | path

Searched refs:itrace_synth_opts (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/tools/perf/
Dbuiltin-inject.c47 struct itrace_synth_opts itrace_synth_opts; member
644 inject->itrace_synth_opts.set) { in __cmd_inject()
671 } else if (inject->itrace_synth_opts.set) { in __cmd_inject()
672 session->itrace_synth_opts = &inject->itrace_synth_opts; in __cmd_inject()
673 inject->itrace_synth_opts.inject = true; in __cmd_inject()
690 if (!inject->itrace_synth_opts.set) in __cmd_inject()
709 inject->have_auxtrace && !inject->itrace_synth_opts.set) in __cmd_inject()
716 if (inject->itrace_synth_opts.set) { in __cmd_inject()
721 if (inject->itrace_synth_opts.last_branch) in __cmd_inject()
802 OPT_CALLBACK_OPTARG(0, "itrace", &inject.itrace_synth_opts, in cmd_inject()
[all …]
Dbuiltin-report.c336 if (session->itrace_synth_opts->callchain || in report__setup_sample_type()
339 !session->itrace_synth_opts->set)) in report__setup_sample_type()
342 if (session->itrace_synth_opts->last_branch) in report__setup_sample_type()
847 session->itrace_synth_opts->cpu_bitmap = rep->cpu_bitmap; in __cmd_report()
1023 struct itrace_synth_opts itrace_synth_opts = { .set = 0, }; in cmd_report() local
1179 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_report()
1256 if (itrace_synth_opts.callchain && in cmd_report()
1257 (int)itrace_synth_opts.callchain_sz > report.max_stack) in cmd_report()
1258 report.max_stack = itrace_synth_opts.callchain_sz; in cmd_report()
1287 session->itrace_synth_opts = &itrace_synth_opts; in cmd_report()
[all …]
Dbuiltin-script.c3409 struct itrace_synth_opts itrace_synth_opts = { in cmd_script() local
3488 OPT_CALLBACK_OPTARG(0, "insn-trace", &itrace_synth_opts, NULL, NULL, in cmd_script()
3492 OPT_CALLBACK_OPTARG(0, "call-trace", &itrace_synth_opts, NULL, NULL, in cmd_script()
3494 OPT_CALLBACK_OPTARG(0, "call-ret-trace", &itrace_synth_opts, NULL, NULL, in cmd_script()
3537 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_script()
3613 if (itrace_synth_opts.callchain && in cmd_script()
3614 itrace_synth_opts.callchain_sz > scripting_max_stack) in cmd_script()
3615 scripting_max_stack = itrace_synth_opts.callchain_sz; in cmd_script()
3792 itrace_synth_opts.thread_stack = true; in cmd_script()
3794 session->itrace_synth_opts = &itrace_synth_opts; in cmd_script()
[all …]
/Linux-v5.4/tools/perf/util/
Dsession.h21 struct itrace_synth_opts;
28 struct itrace_synth_opts *itrace_synth_opts; member
Dauxtrace.h86 struct itrace_synth_opts { struct
536 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts,
573 void itrace_synth_opts__set_time_range(struct itrace_synth_opts *opts, in itrace_synth_opts__set_time_range()
582 void itrace_synth_opts__clear_time_range(struct itrace_synth_opts *opts) in itrace_synth_opts__clear_time_range()
723 void itrace_synth_opts__set_time_range(struct itrace_synth_opts *opts in itrace_synth_opts__set_time_range()
732 void itrace_synth_opts__clear_time_range(struct itrace_synth_opts *opts in itrace_synth_opts__clear_time_range()
Dintel-bts.c57 struct itrace_synth_opts synth_opts;
894 if (session->itrace_synth_opts->set) { in intel_bts_process_auxtrace_info()
895 bts->synth_opts = *session->itrace_synth_opts; in intel_bts_process_auxtrace_info()
898 session->itrace_synth_opts->default_no_sample); in intel_bts_process_auxtrace_info()
900 session->itrace_synth_opts->thread_stack; in intel_bts_process_auxtrace_info()
Ds390-cpumsf.c1063 static bool check_auxtrace_itrace(struct itrace_synth_opts *itops) in check_auxtrace_itrace()
1122 if (!check_auxtrace_itrace(session->itrace_synth_opts)) { in s390_cpumsf_process_auxtrace_info()
1126 sf->use_logfile = session->itrace_synth_opts->log; in s390_cpumsf_process_auxtrace_info()
Dintel-pt.c80 struct itrace_synth_opts synth_opts;
2991 struct itrace_synth_opts *opts) in intel_pt_setup_time_ranges()
3230 if (session->itrace_synth_opts->set) { in intel_pt_process_auxtrace_info()
3231 pt->synth_opts = *session->itrace_synth_opts; in intel_pt_process_auxtrace_info()
3234 session->itrace_synth_opts->default_no_sample); in intel_pt_process_auxtrace_info()
3235 if (!session->itrace_synth_opts->default_no_sample && in intel_pt_process_auxtrace_info()
3236 !session->itrace_synth_opts->inject) { in intel_pt_process_auxtrace_info()
3241 session->itrace_synth_opts->thread_stack; in intel_pt_process_auxtrace_info()
3260 err = intel_pt_setup_time_ranges(pt, session->itrace_synth_opts); in intel_pt_process_auxtrace_info()
Dauxtrace.c62 return !session->itrace_synth_opts || in auxtrace__dont_decode()
63 session->itrace_synth_opts->dont_decode; in auxtrace__dont_decode()
307 unsigned long *cpu_bitmap = session->itrace_synth_opts->cpu_bitmap; in filter_cpu()
973 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts, in itrace_synth_opts__set_default()
1004 struct itrace_synth_opts *synth_opts = opt->value; in itrace_parse_synth_opts()
Dcs-etm.c46 struct itrace_synth_opts synth_opts;
2582 if (session->itrace_synth_opts->set) { in cs_etm__process_auxtrace_info()
2583 etm->synth_opts = *session->itrace_synth_opts; in cs_etm__process_auxtrace_info()
2586 session->itrace_synth_opts->default_no_sample); in cs_etm__process_auxtrace_info()