Home
last modified time | relevance | path

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

/tools/perf/
Dbuiltin-inject.c51 struct itrace_synth_opts itrace_synth_opts; member
283 if (inject->itrace_synth_opts.set && sample->aux_sample.size) in perf_event__repipe_sample()
711 inject->itrace_synth_opts.set || inject->build_id_all) { in __cmd_inject()
741 } else if (inject->itrace_synth_opts.set) { in __cmd_inject()
742 session->itrace_synth_opts = &inject->itrace_synth_opts; in __cmd_inject()
743 inject->itrace_synth_opts.inject = true; in __cmd_inject()
760 if (!inject->itrace_synth_opts.set) in __cmd_inject()
779 inject->have_auxtrace && !inject->itrace_synth_opts.set) in __cmd_inject()
785 if (inject->itrace_synth_opts.set) { in __cmd_inject()
788 if (inject->itrace_synth_opts.last_branch || in __cmd_inject()
[all …]
Dbuiltin-report.c345 if (session->itrace_synth_opts->callchain || in report__setup_sample_type()
346 session->itrace_synth_opts->add_callchain || in report__setup_sample_type()
349 !session->itrace_synth_opts->set)) in report__setup_sample_type()
352 if (session->itrace_synth_opts->last_branch || in report__setup_sample_type()
353 session->itrace_synth_opts->add_last_branch) in report__setup_sample_type()
906 session->itrace_synth_opts->cpu_bitmap = rep->cpu_bitmap; in __cmd_report()
1120 struct itrace_synth_opts itrace_synth_opts = { .set = 0, }; in cmd_report() local
1289 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_report()
1380 if ((itrace_synth_opts.callchain || itrace_synth_opts.add_callchain) && in cmd_report()
1381 (int)itrace_synth_opts.callchain_sz > report.max_stack) in cmd_report()
[all …]
Dbuiltin-script.c3439 struct itrace_synth_opts itrace_synth_opts = { in cmd_script() local
3519 OPT_CALLBACK_OPTARG(0, "insn-trace", &itrace_synth_opts, NULL, NULL, in cmd_script()
3523 OPT_CALLBACK_OPTARG(0, "call-trace", &itrace_synth_opts, NULL, NULL, in cmd_script()
3525 OPT_CALLBACK_OPTARG(0, "call-ret-trace", &itrace_synth_opts, NULL, NULL, in cmd_script()
3573 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_script()
3653 if ((itrace_synth_opts.callchain || itrace_synth_opts.add_callchain) && in cmd_script()
3654 itrace_synth_opts.callchain_sz > scripting_max_stack) in cmd_script()
3655 scripting_max_stack = itrace_synth_opts.callchain_sz; in cmd_script()
3836 itrace_synth_opts.thread_stack = true; in cmd_script()
3838 session->itrace_synth_opts = &itrace_synth_opts; in cmd_script()
[all …]
/tools/perf/util/
Dsession.h21 struct itrace_synth_opts;
28 struct itrace_synth_opts *itrace_synth_opts; member
Dauxtrace.h105 struct itrace_synth_opts { struct
597 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts,
652 void itrace_synth_opts__set_time_range(struct itrace_synth_opts *opts, in itrace_synth_opts__set_time_range()
661 void itrace_synth_opts__clear_time_range(struct itrace_synth_opts *opts) in itrace_synth_opts__clear_time_range()
827 void itrace_synth_opts__set_time_range(struct itrace_synth_opts *opts in itrace_synth_opts__set_time_range()
836 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;
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.c42 struct itrace_synth_opts synth_opts;
967 if (session->itrace_synth_opts && session->itrace_synth_opts->set) in arm_spe_process_auxtrace_info()
968 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()
Dintel-pt.c85 struct itrace_synth_opts synth_opts;
3232 struct itrace_synth_opts *opts) in intel_pt_setup_time_ranges()
3479 if (session->itrace_synth_opts->set) { in intel_pt_process_auxtrace_info()
3480 pt->synth_opts = *session->itrace_synth_opts; in intel_pt_process_auxtrace_info()
3483 session->itrace_synth_opts->default_no_sample); in intel_pt_process_auxtrace_info()
3484 if (!session->itrace_synth_opts->default_no_sample && in intel_pt_process_auxtrace_info()
3485 !session->itrace_synth_opts->inject) { in intel_pt_process_auxtrace_info()
3491 session->itrace_synth_opts->thread_stack; in intel_pt_process_auxtrace_info()
3510 err = intel_pt_setup_time_ranges(pt, session->itrace_synth_opts); in intel_pt_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()
351 unsigned long *cpu_bitmap = session->itrace_synth_opts->cpu_bitmap; in filter_cpu()
1320 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts, in itrace_synth_opts__set_default()
1397 struct itrace_synth_opts *synth_opts = opt->value; in itrace_parse_synth_opts()
Dcs-etm.c46 struct itrace_synth_opts synth_opts;
2670 if (session->itrace_synth_opts->set) { in cs_etm__process_auxtrace_info()
2671 etm->synth_opts = *session->itrace_synth_opts; in cs_etm__process_auxtrace_info()
2674 session->itrace_synth_opts->default_no_sample); in cs_etm__process_auxtrace_info()