Home
last modified time | relevance | path

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

/Linux-v5.4/tools/perf/util/
Dauxtrace.c973 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts, in itrace_synth_opts__set_default() argument
976 synth_opts->branches = true; in itrace_synth_opts__set_default()
977 synth_opts->transactions = true; in itrace_synth_opts__set_default()
978 synth_opts->ptwrites = true; in itrace_synth_opts__set_default()
979 synth_opts->pwr_events = true; in itrace_synth_opts__set_default()
980 synth_opts->other_events = true; in itrace_synth_opts__set_default()
981 synth_opts->errors = true; in itrace_synth_opts__set_default()
983 synth_opts->period_type = PERF_ITRACE_PERIOD_INSTRUCTIONS; in itrace_synth_opts__set_default()
984 synth_opts->period = 1; in itrace_synth_opts__set_default()
985 synth_opts->calls = true; in itrace_synth_opts__set_default()
[all …]
Dintel-pt.c80 struct itrace_synth_opts synth_opts; member
860 if (pt->synth_opts.callchain) { in intel_pt_alloc_queue()
864 sz += (pt->synth_opts.callchain_sz + 1) * sizeof(u64); in intel_pt_alloc_queue()
870 if (pt->synth_opts.last_branch) { in intel_pt_alloc_queue()
873 sz += pt->synth_opts.last_branch_sz * in intel_pt_alloc_queue()
909 if (pt->synth_opts.instructions) { in intel_pt_alloc_queue()
910 if (pt->synth_opts.period) { in intel_pt_alloc_queue()
911 switch (pt->synth_opts.period_type) { in intel_pt_alloc_queue()
915 params.period = pt->synth_opts.period; in intel_pt_alloc_queue()
919 params.period = pt->synth_opts.period; in intel_pt_alloc_queue()
[all …]
Dintel-bts.c57 struct itrace_synth_opts synth_opts; member
280 if (bts->synth_opts.initial_skip && in intel_bts_synth_branch_sample()
281 bts->num_events++ <= bts->synth_opts.initial_skip) in intel_bts_synth_branch_sample()
301 if (bts->synth_opts.inject) { in intel_bts_synth_branch_sample()
383 if (!btsq->bts->synth_opts.errors) in intel_bts_get_branch_type()
430 if (btsq->bts->synth_opts.thread_stack) in intel_bts_process_buffer()
499 if (!btsq->bts->synth_opts.callchain && in intel_bts_process_queue()
500 !btsq->bts->synth_opts.thread_stack && thread && in intel_bts_process_queue()
629 bts->synth_opts.errors) in intel_bts_process_event()
802 if (bts->synth_opts.branches) { in intel_bts_synth_events()
[all …]
Dcs-etm.c46 struct itrace_synth_opts synth_opts; member
253 if (etm->synth_opts.last_branch) { in cs_etm__init_traceid_queue()
256 sz += etm->synth_opts.last_branch_sz * in cs_etm__init_traceid_queue()
880 nr = etmq->etm->synth_opts.last_branch_sz - tidq->last_branch_pos; in cs_etm__copy_last_branch_rb()
892 if (bs_src->nr >= etmq->etm->synth_opts.last_branch_sz) { in cs_etm__copy_last_branch_rb()
973 tidq->last_branch_pos = etmq->etm->synth_opts.last_branch_sz; in cs_etm__update_last_branch_rb()
988 if (bs->nr < etmq->etm->synth_opts.last_branch_sz) in cs_etm__update_last_branch_rb()
1137 if (etm->synth_opts.last_branch) { in cs_etm__synth_instruction_sample()
1142 if (etm->synth_opts.inject) { in cs_etm__synth_instruction_sample()
1156 if (etm->synth_opts.last_branch) in cs_etm__synth_instruction_sample()
[all …]
Dauxtrace.h536 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts,