| /Linux-v5.15/tools/perf/ |
| D | builtin-inject.c | 55 struct itrace_synth_opts itrace_synth_opts; member 287 if (inject->itrace_synth_opts.set && sample->aux_sample.size) in perf_event__repipe_sample() 737 inject->itrace_synth_opts.set = true; in parse_vm_time_correlation() 738 inject->itrace_synth_opts.vm_time_correlation = true; in parse_vm_time_correlation() 746 inject->itrace_synth_opts.vm_tm_corr_dry_run = true; in parse_vm_time_correlation() 753 inject->itrace_synth_opts.vm_tm_corr_args = strdup(args); in parse_vm_time_correlation() 755 return inject->itrace_synth_opts.vm_tm_corr_args ? 0 : -ENOMEM; in parse_vm_time_correlation() 769 inject->itrace_synth_opts.set || inject->build_id_all) { in __cmd_inject() 799 } else if (inject->itrace_synth_opts.vm_time_correlation) { in __cmd_inject() 800 session->itrace_synth_opts = &inject->itrace_synth_opts; in __cmd_inject() [all …]
|
| D | builtin-report.c | 353 if (session->itrace_synth_opts->callchain || in report__setup_sample_type() 354 session->itrace_synth_opts->add_callchain || in report__setup_sample_type() 357 !session->itrace_synth_opts->set)) in report__setup_sample_type() 360 if (session->itrace_synth_opts->last_branch || in report__setup_sample_type() 361 session->itrace_synth_opts->add_last_branch) in report__setup_sample_type() 916 session->itrace_synth_opts->cpu_bitmap = rep->cpu_bitmap; in __cmd_report() 1134 struct itrace_synth_opts itrace_synth_opts = { .set = 0, }; in cmd_report() local 1304 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_report() 1399 if ((itrace_synth_opts.callchain || itrace_synth_opts.add_callchain) && in cmd_report() 1400 (int)itrace_synth_opts.callchain_sz > report.max_stack) in cmd_report() [all …]
|
| D | builtin-annotate.c | 489 struct itrace_synth_opts itrace_synth_opts = { in cmd_annotate() local 556 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_annotate() 603 annotate.session->itrace_synth_opts = &itrace_synth_opts; in cmd_annotate()
|
| D | builtin-mem.c | 262 struct itrace_synth_opts itrace_synth_opts = { in report_raw_events() local 279 session->itrace_synth_opts = &itrace_synth_opts; in report_raw_events()
|
| D | builtin-script.c | 3635 struct itrace_synth_opts itrace_synth_opts = { in cmd_script() local 3728 OPT_CALLBACK_OPTARG(0, "insn-trace", &itrace_synth_opts, NULL, NULL, in cmd_script() 3732 OPT_CALLBACK_OPTARG(0, "call-trace", &itrace_synth_opts, NULL, NULL, in cmd_script() 3734 OPT_CALLBACK_OPTARG(0, "call-ret-trace", &itrace_synth_opts, NULL, NULL, in cmd_script() 3782 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_script() 3862 if ((itrace_synth_opts.callchain || itrace_synth_opts.add_callchain) && in cmd_script() 3863 itrace_synth_opts.callchain_sz > scripting_max_stack) in cmd_script() 3864 scripting_max_stack = itrace_synth_opts.callchain_sz; in cmd_script() 4057 itrace_synth_opts.thread_stack = true; in cmd_script() 4059 session->itrace_synth_opts = &itrace_synth_opts; in cmd_script() [all …]
|
| D | builtin-c2c.c | 2714 struct itrace_synth_opts itrace_synth_opts = { in perf_c2c__report() local 2800 session->itrace_synth_opts = &itrace_synth_opts; in perf_c2c__report()
|
| /Linux-v5.15/tools/perf/util/ |
| D | auxtrace.h | 110 struct itrace_synth_opts { struct 597 int itrace_do_parse_synth_opts(struct itrace_synth_opts *synth_opts, 601 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts, 656 void itrace_synth_opts__set_time_range(struct itrace_synth_opts *opts, in itrace_synth_opts__set_time_range() 665 void itrace_synth_opts__clear_time_range(struct itrace_synth_opts *opts) in itrace_synth_opts__clear_time_range() 731 int itrace_do_parse_synth_opts(struct itrace_synth_opts *synth_opts __maybe_unused, in itrace_do_parse_synth_opts() 861 void itrace_synth_opts__set_time_range(struct itrace_synth_opts *opts in itrace_synth_opts__set_time_range() 870 void itrace_synth_opts__clear_time_range(struct itrace_synth_opts *opts in itrace_synth_opts__clear_time_range()
|
| D | session.h | 21 struct itrace_synth_opts; 28 struct itrace_synth_opts *itrace_synth_opts; member
|
| 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()
|
| D | arm-spe.c | 43 struct itrace_synth_opts synth_opts; 1096 if (session->itrace_synth_opts && session->itrace_synth_opts->set) in arm_spe_process_auxtrace_info() 1097 spe->synth_opts = *session->itrace_synth_opts; in arm_spe_process_auxtrace_info()
|
| D | s390-cpumsf.c | 1071 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()
|
| D | intel-pt.c | 86 struct itrace_synth_opts synth_opts; 3483 struct itrace_synth_opts *opts) in intel_pt_setup_time_ranges() 3656 if (session->itrace_synth_opts->set) { in intel_pt_process_auxtrace_info() 3657 pt->synth_opts = *session->itrace_synth_opts; in intel_pt_process_auxtrace_info() 3659 struct itrace_synth_opts *opts = session->itrace_synth_opts; in intel_pt_process_auxtrace_info() 3757 if (session->itrace_synth_opts->ptime_range) { in intel_pt_process_auxtrace_info() 3838 err = intel_pt_setup_time_ranges(pt, session->itrace_synth_opts); in intel_pt_process_auxtrace_info()
|
| D | auxtrace.c | 108 return !session->itrace_synth_opts || in auxtrace__dont_decode() 109 session->itrace_synth_opts->dont_decode; in auxtrace__dont_decode() 344 unsigned long *cpu_bitmap = session->itrace_synth_opts->cpu_bitmap; in filter_cpu() 1328 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts, in itrace_synth_opts__set_default() 1403 int itrace_do_parse_synth_opts(struct itrace_synth_opts *synth_opts, in itrace_do_parse_synth_opts()
|
| D | cs-etm.c | 45 struct itrace_synth_opts synth_opts; 3040 if (session->itrace_synth_opts->set) { in cs_etm__process_auxtrace_info() 3041 etm->synth_opts = *session->itrace_synth_opts; in cs_etm__process_auxtrace_info() 3044 session->itrace_synth_opts->default_no_sample); in cs_etm__process_auxtrace_info()
|
| /Linux-v5.15/tools/perf/scripts/python/Perf-Trace-Util/ |
| D | Context.c | 122 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()
|