Home
last modified time | relevance | path

Searched refs:synth_opts (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/tools/perf/util/
Dauxtrace.c932 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts) in itrace_synth_opts__set_default() argument
934 synth_opts->instructions = true; in itrace_synth_opts__set_default()
935 synth_opts->branches = true; in itrace_synth_opts__set_default()
936 synth_opts->transactions = true; in itrace_synth_opts__set_default()
937 synth_opts->errors = true; in itrace_synth_opts__set_default()
938 synth_opts->period_type = PERF_ITRACE_DEFAULT_PERIOD_TYPE; in itrace_synth_opts__set_default()
939 synth_opts->period = PERF_ITRACE_DEFAULT_PERIOD; in itrace_synth_opts__set_default()
940 synth_opts->callchain_sz = PERF_ITRACE_DEFAULT_CALLCHAIN_SZ; in itrace_synth_opts__set_default()
941 synth_opts->last_branch_sz = PERF_ITRACE_DEFAULT_LAST_BRANCH_SZ; in itrace_synth_opts__set_default()
952 struct itrace_synth_opts *synth_opts = opt->value; in itrace_parse_synth_opts() local
[all …]
Dintel-pt.c77 struct itrace_synth_opts synth_opts; member
674 if (pt->synth_opts.callchain) { in intel_pt_alloc_queue()
677 sz += pt->synth_opts.callchain_sz * sizeof(u64); in intel_pt_alloc_queue()
683 if (pt->synth_opts.last_branch) { in intel_pt_alloc_queue()
686 sz += pt->synth_opts.last_branch_sz * in intel_pt_alloc_queue()
717 if (pt->synth_opts.instructions) { in intel_pt_alloc_queue()
718 if (pt->synth_opts.period) { in intel_pt_alloc_queue()
719 switch (pt->synth_opts.period_type) { in intel_pt_alloc_queue()
723 params.period = pt->synth_opts.period; in intel_pt_alloc_queue()
727 params.period = pt->synth_opts.period; in intel_pt_alloc_queue()
[all …]
Dintel-bts.c62 struct itrace_synth_opts synth_opts; member
293 if (bts->synth_opts.inject) { in intel_bts_synth_branch_sample()
395 if (!btsq->bts->synth_opts.errors) in intel_bts_get_branch_type()
504 if (!btsq->bts->synth_opts.callchain && thread && in intel_bts_process_queue()
633 bts->synth_opts.errors) in intel_bts_process_event()
806 if (bts->synth_opts.branches) { in intel_bts_synth_events()
903 bts->synth_opts = *session->itrace_synth_opts; in intel_bts_process_auxtrace_info()
905 itrace_synth_opts__set_default(&bts->synth_opts); in intel_bts_process_auxtrace_info()
907 if (bts->synth_opts.calls) in intel_bts_process_auxtrace_info()
910 if (bts->synth_opts.returns) in intel_bts_process_auxtrace_info()
Dauxtrace.h471 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts);