/openbmc/linux/tools/perf/ |
H A D | builtin-report.c | 370 if (session->itrace_synth_opts->callchain || in report__setup_sample_type() 371 session->itrace_synth_opts->add_callchain || in report__setup_sample_type() 374 !session->itrace_synth_opts->set)) in report__setup_sample_type() 377 if (session->itrace_synth_opts->last_branch || in report__setup_sample_type() 378 session->itrace_synth_opts->add_last_branch) in report__setup_sample_type() 1188 struct itrace_synth_opts itrace_synth_opts = { .set = 0, }; in cmd_report() local 1477 if ((itrace_synth_opts.callchain || itrace_synth_opts.add_callchain) && in cmd_report() 1479 report.max_stack = itrace_synth_opts.callchain_sz; in cmd_report() 1510 session->itrace_synth_opts = &itrace_synth_opts; in cmd_report() 1527 if (itrace_synth_opts.last_branch || itrace_synth_opts.add_last_branch) in cmd_report() [all …]
|
H A D | builtin-inject.c | 124 struct itrace_synth_opts itrace_synth_opts; member 1747 inject->itrace_synth_opts.set = true; in parse_vm_time_correlation() 2019 session->itrace_synth_opts = &inject->itrace_synth_opts; in __cmd_inject() 2027 } else if (inject->itrace_synth_opts.set) { in __cmd_inject() 2028 session->itrace_synth_opts = &inject->itrace_synth_opts; in __cmd_inject() 2029 inject->itrace_synth_opts.inject = true; in __cmd_inject() 2088 if (!inject->itrace_synth_opts.set) in __cmd_inject() 2130 if (inject->itrace_synth_opts.set) { in __cmd_inject() 2133 if (inject->itrace_synth_opts.last_branch || in __cmd_inject() 2269 if (!inject.itrace_synth_opts.set) { in cmd_inject() [all …]
|
H A D | builtin-mem.c | 276 struct itrace_synth_opts itrace_synth_opts = { in report_raw_events() local 293 session->itrace_synth_opts = &itrace_synth_opts; in report_raw_events()
|
H A D | builtin-annotate.c | 528 struct itrace_synth_opts itrace_synth_opts = { in cmd_annotate() local 602 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_annotate() 672 annotate.session->itrace_synth_opts = &itrace_synth_opts; in cmd_annotate()
|
H A D | builtin-script.c | 3833 struct itrace_synth_opts itrace_synth_opts = { in cmd_script() local 3935 OPT_CALLBACK_OPTARG(0, "call-trace", &itrace_synth_opts, NULL, NULL, in cmd_script() 3985 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_script() 4076 if ((itrace_synth_opts.callchain || itrace_synth_opts.add_callchain) && in cmd_script() 4077 itrace_synth_opts.callchain_sz > scripting_max_stack) in cmd_script() 4078 scripting_max_stack = itrace_synth_opts.callchain_sz; in cmd_script() 4271 itrace_synth_opts.thread_stack = true; in cmd_script() 4273 session->itrace_synth_opts = &itrace_synth_opts; in cmd_script() 4279 itrace_synth_opts.cpu_bitmap = cpu_bitmap; in cmd_script() 4367 itrace_synth_opts__set_time_range(&itrace_synth_opts, in cmd_script() [all …]
|
H A D | builtin-c2c.c | 3006 struct itrace_synth_opts itrace_synth_opts = { in perf_c2c__report() local 3111 session->itrace_synth_opts = &itrace_synth_opts; in perf_c2c__report()
|
/openbmc/linux/tools/perf/util/ |
H A D | auxtrace.h | 120 struct itrace_synth_opts { struct 620 int itrace_do_parse_synth_opts(struct itrace_synth_opts *synth_opts, 624 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts, 685 void itrace_synth_opts__set_time_range(struct itrace_synth_opts *opts, in itrace_synth_opts__set_time_range() 694 void itrace_synth_opts__clear_time_range(struct itrace_synth_opts *opts) in itrace_synth_opts__clear_time_range() 760 int itrace_do_parse_synth_opts(struct itrace_synth_opts *synth_opts __maybe_unused, in itrace_do_parse_synth_opts() 890 void itrace_synth_opts__set_time_range(struct itrace_synth_opts *opts in itrace_synth_opts__set_time_range() 899 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; 34 struct itrace_synth_opts *itrace_synth_opts; member
|
H A D | intel-bts.c | 57 struct itrace_synth_opts synth_opts; 904 if (session->itrace_synth_opts->set) { in intel_bts_process_auxtrace_info() 905 bts->synth_opts = *session->itrace_synth_opts; in intel_bts_process_auxtrace_info() 908 session->itrace_synth_opts->default_no_sample); in intel_bts_process_auxtrace_info() 910 session->itrace_synth_opts->thread_stack; in intel_bts_process_auxtrace_info()
|
H A D | arm-spe.c | 44 struct itrace_synth_opts synth_opts; 1355 if (session->itrace_synth_opts && session->itrace_synth_opts->set) in arm_spe_process_auxtrace_info() 1356 spe->synth_opts = *session->itrace_synth_opts; in arm_spe_process_auxtrace_info()
|
H A D | s390-cpumsf.c | 1072 static bool check_auxtrace_itrace(struct itrace_synth_opts *itops) in check_auxtrace_itrace() 1132 if (!check_auxtrace_itrace(session->itrace_synth_opts)) { in s390_cpumsf_process_auxtrace_info() 1136 sf->use_logfile = session->itrace_synth_opts->log; in s390_cpumsf_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() 354 unsigned long *cpu_bitmap = session->itrace_synth_opts->cpu_bitmap; in filter_cpu() 1375 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts, in itrace_synth_opts__set_default() 1462 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; 4034 struct itrace_synth_opts *opts) in intel_pt_setup_time_ranges() 4211 if (session->itrace_synth_opts->set) { in intel_pt_process_auxtrace_info() 4212 pt->synth_opts = *session->itrace_synth_opts; in intel_pt_process_auxtrace_info() 4214 struct itrace_synth_opts *opts = session->itrace_synth_opts; in intel_pt_process_auxtrace_info() 4322 if (session->itrace_synth_opts->ptime_range) { in intel_pt_process_auxtrace_info() 4399 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; 3309 if (session->itrace_synth_opts->set) { in cs_etm__process_auxtrace_info_full() 3310 etm->synth_opts = *session->itrace_synth_opts; in cs_etm__process_auxtrace_info_full() 3313 session->itrace_synth_opts->default_no_sample); in cs_etm__process_auxtrace_info_full()
|
/openbmc/linux/tools/perf/scripts/python/Perf-Trace-Util/ |
H A D | Context.c | 125 if (!c->session || !c->session->itrace_synth_opts) in perf_set_itrace_options() 128 if (c->session->itrace_synth_opts->set) { in perf_set_itrace_options() 135 retval = itrace_do_parse_synth_opts(c->session->itrace_synth_opts, itrace_options, 0); in perf_set_itrace_options()
|