Home
last modified time | relevance | path

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

/linux-6.6.21/tools/perf/
Dbuiltin-report.c371 if (session->itrace_synth_opts->callchain || in report__setup_sample_type()
372 session->itrace_synth_opts->add_callchain || in report__setup_sample_type()
375 !session->itrace_synth_opts->set)) in report__setup_sample_type()
378 if (session->itrace_synth_opts->last_branch || in report__setup_sample_type()
379 session->itrace_synth_opts->add_last_branch) in report__setup_sample_type()
971 session->itrace_synth_opts->cpu_bitmap = rep->cpu_bitmap; in __cmd_report()
1189 struct itrace_synth_opts itrace_synth_opts = { .set = 0, }; in cmd_report() local
1367 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_report()
1471 if ((itrace_synth_opts.callchain || itrace_synth_opts.add_callchain) && in cmd_report()
1472 (int)itrace_synth_opts.callchain_sz > report.max_stack) in cmd_report()
[all …]
Dbuiltin-inject.c124 struct itrace_synth_opts itrace_synth_opts; member
366 if (inject->itrace_synth_opts.set && sample->aux_sample.size) { in perf_event__repipe_sample()
1747 inject->itrace_synth_opts.set = true; in parse_vm_time_correlation()
1748 inject->itrace_synth_opts.vm_time_correlation = true; in parse_vm_time_correlation()
1756 inject->itrace_synth_opts.vm_tm_corr_dry_run = true; in parse_vm_time_correlation()
1763 inject->itrace_synth_opts.vm_tm_corr_args = strdup(args); in parse_vm_time_correlation()
1765 return inject->itrace_synth_opts.vm_tm_corr_args ? 0 : -ENOMEM; in parse_vm_time_correlation()
1984 inject->itrace_synth_opts.set || inject->build_id_all) { in __cmd_inject()
2018 } else if (inject->itrace_synth_opts.vm_time_correlation) { in __cmd_inject()
2019 session->itrace_synth_opts = &inject->itrace_synth_opts; in __cmd_inject()
[all …]
Dbuiltin-mem.c276 struct itrace_synth_opts itrace_synth_opts = { in report_raw_events() local
293 session->itrace_synth_opts = &itrace_synth_opts; in report_raw_events()
Dbuiltin-annotate.c530 struct itrace_synth_opts itrace_synth_opts = { in cmd_annotate() local
606 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_annotate()
676 annotate.session->itrace_synth_opts = &itrace_synth_opts; in cmd_annotate()
Dbuiltin-script.c3819 struct itrace_synth_opts itrace_synth_opts = { in cmd_script() local
3917 OPT_CALLBACK_OPTARG(0, "insn-trace", &itrace_synth_opts, NULL, NULL, in cmd_script()
3921 OPT_CALLBACK_OPTARG(0, "call-trace", &itrace_synth_opts, NULL, NULL, in cmd_script()
3923 OPT_CALLBACK_OPTARG(0, "call-ret-trace", &itrace_synth_opts, NULL, NULL, in cmd_script()
3971 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_script()
4062 if ((itrace_synth_opts.callchain || itrace_synth_opts.add_callchain) && in cmd_script()
4063 itrace_synth_opts.callchain_sz > scripting_max_stack) in cmd_script()
4064 scripting_max_stack = itrace_synth_opts.callchain_sz; in cmd_script()
4257 itrace_synth_opts.thread_stack = true; in cmd_script()
4259 session->itrace_synth_opts = &itrace_synth_opts; in cmd_script()
[all …]
Dbuiltin-c2c.c3006 struct itrace_synth_opts itrace_synth_opts = { in perf_c2c__report() local
3111 session->itrace_synth_opts = &itrace_synth_opts; in perf_c2c__report()
/linux-6.6.21/tools/perf/util/
Dauxtrace.h120 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()
Dsession.h21 struct itrace_synth_opts;
34 struct itrace_synth_opts *itrace_synth_opts; member
Dintel-bts.c57 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()
Darm-spe.c44 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()
Ds390-cpumsf.c1072 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()
Dauxtrace.c111 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()
Dintel-pt.c96 struct itrace_synth_opts synth_opts;
4032 struct itrace_synth_opts *opts) in intel_pt_setup_time_ranges()
4209 if (session->itrace_synth_opts->set) { in intel_pt_process_auxtrace_info()
4210 pt->synth_opts = *session->itrace_synth_opts; in intel_pt_process_auxtrace_info()
4212 struct itrace_synth_opts *opts = session->itrace_synth_opts; in intel_pt_process_auxtrace_info()
4320 if (session->itrace_synth_opts->ptime_range) { in intel_pt_process_auxtrace_info()
4397 err = intel_pt_setup_time_ranges(pt, session->itrace_synth_opts); in intel_pt_process_auxtrace_info()
Dcs-etm.c47 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()
/linux-6.6.21/tools/perf/scripts/python/Perf-Trace-Util/
DContext.c125 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()