Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/
Dbuiltin-report.c360 if (session->itrace_synth_opts->callchain || in report__setup_sample_type()
361 session->itrace_synth_opts->add_callchain || in report__setup_sample_type()
364 !session->itrace_synth_opts->set)) in report__setup_sample_type()
367 if (session->itrace_synth_opts->last_branch || in report__setup_sample_type()
368 session->itrace_synth_opts->add_last_branch) in report__setup_sample_type()
956 session->itrace_synth_opts->cpu_bitmap = rep->cpu_bitmap; in __cmd_report()
1174 struct itrace_synth_opts itrace_synth_opts = { .set = 0, }; in cmd_report() local
1348 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_report()
1434 if ((itrace_synth_opts.callchain || itrace_synth_opts.add_callchain) && in cmd_report()
1435 (int)itrace_synth_opts.callchain_sz > report.max_stack) in cmd_report()
[all …]
Dbuiltin-inject.c124 struct itrace_synth_opts itrace_synth_opts; member
360 if (inject->itrace_synth_opts.set && sample->aux_sample.size) in perf_event__repipe_sample()
1723 inject->itrace_synth_opts.set = true; in parse_vm_time_correlation()
1724 inject->itrace_synth_opts.vm_time_correlation = true; in parse_vm_time_correlation()
1732 inject->itrace_synth_opts.vm_tm_corr_dry_run = true; in parse_vm_time_correlation()
1739 inject->itrace_synth_opts.vm_tm_corr_args = strdup(args); in parse_vm_time_correlation()
1741 return inject->itrace_synth_opts.vm_tm_corr_args ? 0 : -ENOMEM; in parse_vm_time_correlation()
1960 inject->itrace_synth_opts.set || inject->build_id_all) { in __cmd_inject()
1990 } else if (inject->itrace_synth_opts.vm_time_correlation) { in __cmd_inject()
1991 session->itrace_synth_opts = &inject->itrace_synth_opts; in __cmd_inject()
[all …]
Dbuiltin-mem.c272 struct itrace_synth_opts itrace_synth_opts = { in report_raw_events() local
289 session->itrace_synth_opts = &itrace_synth_opts; in report_raw_events()
Dbuiltin-annotate.c515 struct itrace_synth_opts itrace_synth_opts = { in cmd_annotate() local
588 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_annotate()
641 annotate.session->itrace_synth_opts = &itrace_synth_opts; in cmd_annotate()
Dbuiltin-script.c3766 struct itrace_synth_opts itrace_synth_opts = { in cmd_script() local
3862 OPT_CALLBACK_OPTARG(0, "insn-trace", &itrace_synth_opts, NULL, NULL, in cmd_script()
3866 OPT_CALLBACK_OPTARG(0, "call-trace", &itrace_synth_opts, NULL, NULL, in cmd_script()
3868 OPT_CALLBACK_OPTARG(0, "call-ret-trace", &itrace_synth_opts, NULL, NULL, in cmd_script()
3916 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_script()
4007 if ((itrace_synth_opts.callchain || itrace_synth_opts.add_callchain) && in cmd_script()
4008 itrace_synth_opts.callchain_sz > scripting_max_stack) in cmd_script()
4009 scripting_max_stack = itrace_synth_opts.callchain_sz; in cmd_script()
4202 itrace_synth_opts.thread_stack = true; in cmd_script()
4204 session->itrace_synth_opts = &itrace_synth_opts; in cmd_script()
[all …]
Dbuiltin-c2c.c2999 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.1.9/tools/perf/util/
Dauxtrace.h117 struct itrace_synth_opts { struct
616 int itrace_do_parse_synth_opts(struct itrace_synth_opts *synth_opts,
620 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts,
680 void itrace_synth_opts__set_time_range(struct itrace_synth_opts *opts, in itrace_synth_opts__set_time_range()
689 void itrace_synth_opts__clear_time_range(struct itrace_synth_opts *opts) in itrace_synth_opts__clear_time_range()
755 int itrace_do_parse_synth_opts(struct itrace_synth_opts *synth_opts __maybe_unused, in itrace_do_parse_synth_opts()
885 void itrace_synth_opts__set_time_range(struct itrace_synth_opts *opts in itrace_synth_opts__set_time_range()
894 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;
1335 if (session->itrace_synth_opts && session->itrace_synth_opts->set) in arm_spe_process_auxtrace_info()
1336 spe->synth_opts = *session->itrace_synth_opts; in arm_spe_process_auxtrace_info()
Ds390-cpumsf.c1071 static bool check_auxtrace_itrace(struct itrace_synth_opts *itops) in check_auxtrace_itrace()
1131 if (!check_auxtrace_itrace(session->itrace_synth_opts)) { in s390_cpumsf_process_auxtrace_info()
1135 sf->use_logfile = session->itrace_synth_opts->log; in s390_cpumsf_process_auxtrace_info()
Dauxtrace.c110 return !session->itrace_synth_opts || in auxtrace__dont_decode()
111 session->itrace_synth_opts->dont_decode; in auxtrace__dont_decode()
353 unsigned long *cpu_bitmap = session->itrace_synth_opts->cpu_bitmap; in filter_cpu()
1371 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts, in itrace_synth_opts__set_default()
1457 int itrace_do_parse_synth_opts(struct itrace_synth_opts *synth_opts, in itrace_do_parse_synth_opts()
Dintel-pt.c95 struct itrace_synth_opts synth_opts;
3939 struct itrace_synth_opts *opts) in intel_pt_setup_time_ranges()
4116 if (session->itrace_synth_opts->set) { in intel_pt_process_auxtrace_info()
4117 pt->synth_opts = *session->itrace_synth_opts; in intel_pt_process_auxtrace_info()
4119 struct itrace_synth_opts *opts = session->itrace_synth_opts; in intel_pt_process_auxtrace_info()
4227 if (session->itrace_synth_opts->ptime_range) { in intel_pt_process_auxtrace_info()
4312 err = intel_pt_setup_time_ranges(pt, session->itrace_synth_opts); in intel_pt_process_auxtrace_info()
Dcs-etm.c45 struct itrace_synth_opts synth_opts;
3038 if (session->itrace_synth_opts->set) { in cs_etm__process_auxtrace_info()
3039 etm->synth_opts = *session->itrace_synth_opts; in cs_etm__process_auxtrace_info()
3042 session->itrace_synth_opts->default_no_sample); in cs_etm__process_auxtrace_info()
/linux-6.1.9/tools/perf/scripts/python/Perf-Trace-Util/
DContext.c122 if (!c->session || !c->session->itrace_synth_opts) in perf_set_itrace_options()
125 if (c->session->itrace_synth_opts->set) { in perf_set_itrace_options()
132 retval = itrace_do_parse_synth_opts(c->session->itrace_synth_opts, itrace_options, 0); in perf_set_itrace_options()