| /linux-6.15/tools/perf/ |
| H A D | builtin-report.c | 377 if (session->itrace_synth_opts->callchain || in report__setup_sample_type() 378 session->itrace_synth_opts->add_callchain || in report__setup_sample_type() 381 !session->itrace_synth_opts->set)) in report__setup_sample_type() 384 if (session->itrace_synth_opts->last_branch || in report__setup_sample_type() 385 session->itrace_synth_opts->add_last_branch) in report__setup_sample_type() 1290 struct itrace_synth_opts itrace_synth_opts = { .set = 0, }; in cmd_report() local 1562 if ((itrace_synth_opts.callchain || itrace_synth_opts.add_callchain) && in cmd_report() 1564 report.max_stack = itrace_synth_opts.callchain_sz; in cmd_report() 1621 session->itrace_synth_opts = &itrace_synth_opts; in cmd_report() 1638 if (itrace_synth_opts.last_branch || itrace_synth_opts.add_last_branch) in cmd_report() [all …]
|
| H A D | builtin-inject.c | 130 struct itrace_synth_opts itrace_synth_opts; member 1936 inject->itrace_synth_opts.set = true; in parse_vm_time_correlation() 2179 inject->itrace_synth_opts.set) { in __cmd_inject() 2210 session->itrace_synth_opts = &inject->itrace_synth_opts; in __cmd_inject() 2218 } else if (inject->itrace_synth_opts.set) { in __cmd_inject() 2219 session->itrace_synth_opts = &inject->itrace_synth_opts; in __cmd_inject() 2220 inject->itrace_synth_opts.inject = true; in __cmd_inject() 2279 if (!inject->itrace_synth_opts.set) in __cmd_inject() 2321 if (inject->itrace_synth_opts.set) { in __cmd_inject() 2324 if (inject->itrace_synth_opts.last_branch || in __cmd_inject() [all …]
|
| H A D | builtin-mem.c | 265 struct itrace_synth_opts itrace_synth_opts = { in report_raw_events() local 298 session->itrace_synth_opts = &itrace_synth_opts; in report_raw_events()
|
| H A D | builtin-annotate.c | 705 struct itrace_synth_opts itrace_synth_opts = { in cmd_annotate() local 779 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_annotate() 885 annotate.session->itrace_synth_opts = &itrace_synth_opts; in cmd_annotate()
|
| H A D | builtin-script.c | 3694 struct itrace_synth_opts itrace_synth_opts = { in cmd_script() local 3766 OPT_CALLBACK_OPTARG(0, "call-trace", &itrace_synth_opts, NULL, NULL, in cmd_script() 3816 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_script() 3907 if ((itrace_synth_opts.callchain || itrace_synth_opts.add_callchain) && in cmd_script() 3908 itrace_synth_opts.callchain_sz > scripting_max_stack) in cmd_script() 3909 scripting_max_stack = itrace_synth_opts.callchain_sz; in cmd_script() 4130 itrace_synth_opts.thread_stack = true; in cmd_script() 4132 session->itrace_synth_opts = &itrace_synth_opts; in cmd_script() 4138 itrace_synth_opts.cpu_bitmap = cpu_bitmap; in cmd_script() 4226 itrace_synth_opts__set_time_range(&itrace_synth_opts, in cmd_script() [all …]
|
| H A D | builtin-c2c.c | 2985 struct itrace_synth_opts itrace_synth_opts = { in perf_c2c__report() local 3103 session->itrace_synth_opts = &itrace_synth_opts; in perf_c2c__report()
|
| /linux-6.15/tools/perf/util/ |
| H A D | auxtrace.h | 120 struct itrace_synth_opts { struct 621 int itrace_do_parse_synth_opts(struct itrace_synth_opts *synth_opts, 625 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts, 687 void itrace_synth_opts__set_time_range(struct itrace_synth_opts *opts, in itrace_synth_opts__set_time_range() 696 void itrace_synth_opts__clear_time_range(struct itrace_synth_opts *opts) in itrace_synth_opts__clear_time_range() 762 int itrace_do_parse_synth_opts(struct itrace_synth_opts *synth_opts __maybe_unused, in itrace_do_parse_synth_opts() 894 void itrace_synth_opts__set_time_range(struct itrace_synth_opts *opts in itrace_synth_opts__set_time_range() 903 void itrace_synth_opts__clear_time_range(struct itrace_synth_opts *opts in itrace_synth_opts__clear_time_range()
|
| H A D | session.h | 21 struct itrace_synth_opts; 53 struct itrace_synth_opts *itrace_synth_opts; member
|
| H A D | intel-bts.c | 57 struct itrace_synth_opts synth_opts; 877 if (session->itrace_synth_opts->set) { in intel_bts_process_auxtrace_info() 878 bts->synth_opts = *session->itrace_synth_opts; in intel_bts_process_auxtrace_info() 881 session->itrace_synth_opts->default_no_sample); in intel_bts_process_auxtrace_info() 883 session->itrace_synth_opts->thread_stack; in intel_bts_process_auxtrace_info()
|
| H A D | s390-cpumsf.c | 1069 static bool check_auxtrace_itrace(struct itrace_synth_opts *itops) in check_auxtrace_itrace() 1129 if (!check_auxtrace_itrace(session->itrace_synth_opts)) { in s390_cpumsf_process_auxtrace_info() 1133 sf->use_logfile = session->itrace_synth_opts->log; in s390_cpumsf_process_auxtrace_info()
|
| H A D | arm-spe.c | 46 struct itrace_synth_opts synth_opts; 1778 if (session->itrace_synth_opts && session->itrace_synth_opts->set) in arm_spe_process_auxtrace_info() 1779 spe->synth_opts = *session->itrace_synth_opts; in arm_spe_process_auxtrace_info()
|
| H A D | auxtrace.c | 111 return !session->itrace_synth_opts || in auxtrace__dont_decode() 112 session->itrace_synth_opts->dont_decode; in auxtrace__dont_decode() 359 unsigned long *cpu_bitmap = session->itrace_synth_opts->cpu_bitmap; in filter_cpu() 1440 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts, in itrace_synth_opts__set_default() 1527 int itrace_do_parse_synth_opts(struct itrace_synth_opts *synth_opts, in itrace_do_parse_synth_opts()
|
| H A D | intel-pt.c | 96 struct itrace_synth_opts synth_opts; 4064 struct itrace_synth_opts *opts) in intel_pt_setup_time_ranges() 4241 if (session->itrace_synth_opts->set) { in intel_pt_process_auxtrace_info() 4242 pt->synth_opts = *session->itrace_synth_opts; in intel_pt_process_auxtrace_info() 4244 struct itrace_synth_opts *opts = session->itrace_synth_opts; in intel_pt_process_auxtrace_info() 4352 if (session->itrace_synth_opts->ptime_range) { in intel_pt_process_auxtrace_info() 4429 err = intel_pt_setup_time_ranges(pt, session->itrace_synth_opts); in intel_pt_process_auxtrace_info()
|
| H A D | cs-etm.c | 47 struct itrace_synth_opts synth_opts; 3459 if (session->itrace_synth_opts->set) { in cs_etm__process_auxtrace_info_full() 3460 etm->synth_opts = *session->itrace_synth_opts; in cs_etm__process_auxtrace_info_full() 3463 session->itrace_synth_opts->default_no_sample); in cs_etm__process_auxtrace_info_full()
|
| /linux-6.15/tools/perf/scripts/python/Perf-Trace-Util/ |
| H A D | Context.c | 115 if (!c->session || !c->session->itrace_synth_opts) in perf_set_itrace_options() 118 if (c->session->itrace_synth_opts->set) { in perf_set_itrace_options() 125 retval = itrace_do_parse_synth_opts(c->session->itrace_synth_opts, itrace_options, 0); in perf_set_itrace_options()
|