Home
last modified time | relevance | path

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

/Linux-v4.19/tools/perf/util/
Dauxtrace.c967 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts) in itrace_synth_opts__set_default() argument
969 synth_opts->instructions = true; in itrace_synth_opts__set_default()
970 synth_opts->branches = true; in itrace_synth_opts__set_default()
971 synth_opts->transactions = true; in itrace_synth_opts__set_default()
972 synth_opts->ptwrites = true; in itrace_synth_opts__set_default()
973 synth_opts->pwr_events = true; in itrace_synth_opts__set_default()
974 synth_opts->errors = true; in itrace_synth_opts__set_default()
975 synth_opts->period_type = PERF_ITRACE_DEFAULT_PERIOD_TYPE; in itrace_synth_opts__set_default()
976 synth_opts->period = PERF_ITRACE_DEFAULT_PERIOD; in itrace_synth_opts__set_default()
977 synth_opts->callchain_sz = PERF_ITRACE_DEFAULT_CALLCHAIN_SZ; in itrace_synth_opts__set_default()
[all …]
Dcs-etm.c46 struct itrace_synth_opts synth_opts; member
309 if (etm->synth_opts.last_branch || etm->sample_branches) { in cs_etm__alloc_queue()
315 if (etm->synth_opts.last_branch) { in cs_etm__alloc_queue()
318 sz += etm->synth_opts.last_branch_sz * in cs_etm__alloc_queue()
470 nr = etmq->etm->synth_opts.last_branch_sz - etmq->last_branch_pos; in cs_etm__copy_last_branch_rb()
482 if (bs_src->nr >= etmq->etm->synth_opts.last_branch_sz) { in cs_etm__copy_last_branch_rb()
556 etmq->last_branch_pos = etmq->etm->synth_opts.last_branch_sz; in cs_etm__update_last_branch_rb()
571 if (bs->nr < etmq->etm->synth_opts.last_branch_sz) in cs_etm__update_last_branch_rb()
670 if (etm->synth_opts.last_branch) { in cs_etm__synth_instruction_sample()
675 if (etm->synth_opts.inject) { in cs_etm__synth_instruction_sample()
[all …]
Dintel-pt.c80 struct itrace_synth_opts synth_opts; member
759 if (pt->synth_opts.callchain) { in intel_pt_alloc_queue()
762 sz += pt->synth_opts.callchain_sz * sizeof(u64); in intel_pt_alloc_queue()
768 if (pt->synth_opts.last_branch) { in intel_pt_alloc_queue()
771 sz += pt->synth_opts.last_branch_sz * in intel_pt_alloc_queue()
806 if (pt->synth_opts.instructions) { in intel_pt_alloc_queue()
807 if (pt->synth_opts.period) { in intel_pt_alloc_queue()
808 switch (pt->synth_opts.period_type) { in intel_pt_alloc_queue()
812 params.period = pt->synth_opts.period; in intel_pt_alloc_queue()
816 params.period = pt->synth_opts.period; in intel_pt_alloc_queue()
[all …]
Dintel-bts.c64 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()
399 if (!btsq->bts->synth_opts.errors) in intel_bts_get_branch_type()
446 if (btsq->bts->synth_opts.thread_stack) in intel_bts_process_buffer()
515 if (!btsq->bts->synth_opts.callchain && in intel_bts_process_queue()
516 !btsq->bts->synth_opts.thread_stack && thread && in intel_bts_process_queue()
645 bts->synth_opts.errors) in intel_bts_process_event()
818 if (bts->synth_opts.branches) { in intel_bts_synth_events()
[all …]
Dauxtrace.h531 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts);