| /linux/tools/perf/ |
| H A D | builtin-report.c | 377 if (session->itrace_synth_opts->callchain || in report__setup_sample_type() 378 session->itrace_synth_opts->add_callchain || in report__setup_sample_type() 381 !session->itrace_synth_opts->set)) in report__setup_sample_type() 384 if (session->itrace_synth_opts->last_branch || in report__setup_sample_type() 385 session->itrace_synth_opts->add_last_branch) in report__setup_sample_type() 1071 session->itrace_synth_opts->cpu_bitmap = rep->cpu_bitmap; in __cmd_report() 1304 struct itrace_synth_opts itrace_synth_opts = { .set = 0, }; in cmd_report() local 1460 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_report() 1576 if ((itrace_synth_opts.callchain || itrace_synth_opts.add_callchain) && in cmd_report() 1577 (int)itrace_synth_opts.callchain_sz > report.max_stack) in cmd_report() [all …]
|
| H A D | builtin-inject.c | 130 struct itrace_synth_opts itrace_synth_opts; member 390 if (inject->itrace_synth_opts.set && sample->aux_sample.size) { in perf_event__repipe_sample() 1942 inject->itrace_synth_opts.set = true; in parse_vm_time_correlation() 1943 inject->itrace_synth_opts.vm_time_correlation = true; in parse_vm_time_correlation() 1951 inject->itrace_synth_opts.vm_tm_corr_dry_run = true; in parse_vm_time_correlation() 1958 inject->itrace_synth_opts.vm_tm_corr_args = strdup(args); in parse_vm_time_correlation() 1960 return inject->itrace_synth_opts.vm_tm_corr_args ? 0 : -ENOMEM; in parse_vm_time_correlation() 2185 inject->itrace_synth_opts.set) { in __cmd_inject() 2215 } else if (inject->itrace_synth_opts.vm_time_correlation) { in __cmd_inject() 2216 session->itrace_synth_opts = &inject->itrace_synth_opts; in __cmd_inject() [all …]
|
| H A D | builtin-mem.c | 265 struct itrace_synth_opts itrace_synth_opts = { in report_raw_events() local 298 session->itrace_synth_opts = &itrace_synth_opts; in report_raw_events()
|
| H A D | builtin-annotate.c | 705 struct itrace_synth_opts itrace_synth_opts = { in cmd_annotate() local 779 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_annotate() 885 annotate.session->itrace_synth_opts = &itrace_synth_opts; in cmd_annotate()
|
| H A D | builtin-script.c | 3732 struct itrace_synth_opts itrace_synth_opts = { in cmd_script() local 3800 OPT_CALLBACK_OPTARG(0, "insn-trace", &itrace_synth_opts, NULL, "raw|disasm", in cmd_script() 3804 OPT_CALLBACK_OPTARG(0, "call-trace", &itrace_synth_opts, NULL, NULL, in cmd_script() 3806 OPT_CALLBACK_OPTARG(0, "call-ret-trace", &itrace_synth_opts, NULL, NULL, in cmd_script() 3854 OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", in cmd_script() 3946 if ((itrace_synth_opts.callchain || itrace_synth_opts.add_callchain) && in cmd_script() 3947 itrace_synth_opts.callchain_sz > scripting_max_stack) in cmd_script() 3948 scripting_max_stack = itrace_synth_opts.callchain_sz; in cmd_script() 4170 itrace_synth_opts.thread_stack = true; in cmd_script() 4172 session->itrace_synth_opts = &itrace_synth_opts; in cmd_script() [all …]
|
| H A D | builtin-c2c.c | 2994 struct itrace_synth_opts itrace_synth_opts = { in perf_c2c__report() local 3113 session->itrace_synth_opts = &itrace_synth_opts; in perf_c2c__report()
|
| /linux/tools/perf/util/ |
| H A D | auxtrace.h | 122 struct itrace_synth_opts { struct 624 int itrace_do_parse_synth_opts(struct itrace_synth_opts *synth_opts, 628 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts, 690 void itrace_synth_opts__set_time_range(struct itrace_synth_opts *opts, in itrace_synth_opts__set_time_range() 699 void itrace_synth_opts__clear_time_range(struct itrace_synth_opts *opts) in itrace_synth_opts__clear_time_range() 765 int itrace_do_parse_synth_opts(struct itrace_synth_opts *synth_opts __maybe_unused, in itrace_do_parse_synth_opts() 897 void itrace_synth_opts__set_time_range(struct itrace_synth_opts *opts in itrace_synth_opts__set_time_range() 906 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; 53 struct itrace_synth_opts *itrace_synth_opts; member
|
| H A D | intel-bts.c | 57 struct itrace_synth_opts synth_opts; 877 if (session->itrace_synth_opts->set) { in intel_bts_process_auxtrace_info() 878 bts->synth_opts = *session->itrace_synth_opts; in intel_bts_process_auxtrace_info() 881 session->itrace_synth_opts->default_no_sample); in intel_bts_process_auxtrace_info() 883 session->itrace_synth_opts->thread_stack; in intel_bts_process_auxtrace_info()
|
| H A D | s390-cpumsf.c | 1069 static bool check_auxtrace_itrace(struct itrace_synth_opts *itops) in check_auxtrace_itrace() 1129 if (!check_auxtrace_itrace(session->itrace_synth_opts)) { in s390_cpumsf_process_auxtrace_info() 1133 sf->use_logfile = session->itrace_synth_opts->log; in s390_cpumsf_process_auxtrace_info()
|
| H A D | arm-spe.c | 58 struct itrace_synth_opts synth_opts; 1966 if (session->itrace_synth_opts && session->itrace_synth_opts->set) { in arm_spe_process_auxtrace_info() 1967 spe->synth_opts = *session->itrace_synth_opts; in arm_spe_process_auxtrace_info()
|
| H A D | auxtrace.c | 112 return !session->itrace_synth_opts || in auxtrace__dont_decode() 113 session->itrace_synth_opts->dont_decode; in auxtrace__dont_decode() 357 unsigned long *cpu_bitmap = session->itrace_synth_opts->cpu_bitmap; in filter_cpu() 1441 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts, in itrace_synth_opts__set_default() 1528 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; 4263 struct itrace_synth_opts *opts) in intel_pt_setup_time_ranges() 4440 if (session->itrace_synth_opts->set) { in intel_pt_process_auxtrace_info() 4441 pt->synth_opts = *session->itrace_synth_opts; in intel_pt_process_auxtrace_info() 4443 struct itrace_synth_opts *opts = session->itrace_synth_opts; in intel_pt_process_auxtrace_info() 4551 if (session->itrace_synth_opts->ptime_range) { in intel_pt_process_auxtrace_info() 4628 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; 3459 if (session->itrace_synth_opts->set) { in cs_etm__process_auxtrace_info_full() 3460 etm->synth_opts = *session->itrace_synth_opts; in cs_etm__process_auxtrace_info_full() 3463 session->itrace_synth_opts->default_no_sample); in cs_etm__process_auxtrace_info_full()
|
| /linux/tools/perf/scripts/python/Perf-Trace-Util/ |
| H A D | Context.c | 115 if (!c->session || !c->session->itrace_synth_opts) in perf_set_itrace_options() 118 if (c->session->itrace_synth_opts->set) { in perf_set_itrace_options() 125 retval = itrace_do_parse_synth_opts(c->session->itrace_synth_opts, itrace_options, 0); in perf_set_itrace_options()
|