synth_opts 973 tools/perf/util/auxtrace.c void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts, synth_opts 976 tools/perf/util/auxtrace.c synth_opts->branches = true; synth_opts 977 tools/perf/util/auxtrace.c synth_opts->transactions = true; synth_opts 978 tools/perf/util/auxtrace.c synth_opts->ptwrites = true; synth_opts 979 tools/perf/util/auxtrace.c synth_opts->pwr_events = true; synth_opts 980 tools/perf/util/auxtrace.c synth_opts->other_events = true; synth_opts 981 tools/perf/util/auxtrace.c synth_opts->errors = true; synth_opts 983 tools/perf/util/auxtrace.c synth_opts->period_type = PERF_ITRACE_PERIOD_INSTRUCTIONS; synth_opts 984 tools/perf/util/auxtrace.c synth_opts->period = 1; synth_opts 985 tools/perf/util/auxtrace.c synth_opts->calls = true; synth_opts 987 tools/perf/util/auxtrace.c synth_opts->instructions = true; synth_opts 988 tools/perf/util/auxtrace.c synth_opts->period_type = PERF_ITRACE_DEFAULT_PERIOD_TYPE; synth_opts 989 tools/perf/util/auxtrace.c synth_opts->period = PERF_ITRACE_DEFAULT_PERIOD; synth_opts 991 tools/perf/util/auxtrace.c synth_opts->callchain_sz = PERF_ITRACE_DEFAULT_CALLCHAIN_SZ; synth_opts 992 tools/perf/util/auxtrace.c synth_opts->last_branch_sz = PERF_ITRACE_DEFAULT_LAST_BRANCH_SZ; synth_opts 993 tools/perf/util/auxtrace.c synth_opts->initial_skip = 0; synth_opts 1004 tools/perf/util/auxtrace.c struct itrace_synth_opts *synth_opts = opt->value; synth_opts 1010 tools/perf/util/auxtrace.c synth_opts->set = true; synth_opts 1013 tools/perf/util/auxtrace.c synth_opts->dont_decode = true; synth_opts 1018 tools/perf/util/auxtrace.c itrace_synth_opts__set_default(synth_opts, synth_opts 1019 tools/perf/util/auxtrace.c synth_opts->default_no_sample); synth_opts 1026 tools/perf/util/auxtrace.c synth_opts->instructions = true; synth_opts 1030 tools/perf/util/auxtrace.c synth_opts->period = strtoull(p, &endptr, 10); synth_opts 1037 tools/perf/util/auxtrace.c synth_opts->period_type = synth_opts 1042 tools/perf/util/auxtrace.c synth_opts->period_type = synth_opts 1047 tools/perf/util/auxtrace.c synth_opts->period *= 1000; synth_opts 1050 tools/perf/util/auxtrace.c synth_opts->period *= 1000; synth_opts 1055 tools/perf/util/auxtrace.c synth_opts->period_type = synth_opts 1067 tools/perf/util/auxtrace.c synth_opts->branches = true; synth_opts 1070 tools/perf/util/auxtrace.c synth_opts->transactions = true; synth_opts 1073 tools/perf/util/auxtrace.c synth_opts->ptwrites = true; synth_opts 1076 tools/perf/util/auxtrace.c synth_opts->pwr_events = true; synth_opts 1079 tools/perf/util/auxtrace.c synth_opts->other_events = true; synth_opts 1082 tools/perf/util/auxtrace.c synth_opts->errors = true; synth_opts 1085 tools/perf/util/auxtrace.c synth_opts->log = true; synth_opts 1088 tools/perf/util/auxtrace.c synth_opts->branches = true; synth_opts 1089 tools/perf/util/auxtrace.c synth_opts->calls = true; synth_opts 1092 tools/perf/util/auxtrace.c synth_opts->branches = true; synth_opts 1093 tools/perf/util/auxtrace.c synth_opts->returns = true; synth_opts 1096 tools/perf/util/auxtrace.c synth_opts->callchain = true; synth_opts 1097 tools/perf/util/auxtrace.c synth_opts->callchain_sz = synth_opts 1108 tools/perf/util/auxtrace.c synth_opts->callchain_sz = val; synth_opts 1112 tools/perf/util/auxtrace.c synth_opts->last_branch = true; synth_opts 1113 tools/perf/util/auxtrace.c synth_opts->last_branch_sz = synth_opts 1125 tools/perf/util/auxtrace.c synth_opts->last_branch_sz = val; synth_opts 1129 tools/perf/util/auxtrace.c synth_opts->initial_skip = strtoul(p, &endptr, 10); synth_opts 1142 tools/perf/util/auxtrace.c if (synth_opts->instructions) { synth_opts 1144 tools/perf/util/auxtrace.c synth_opts->period_type = synth_opts 1147 tools/perf/util/auxtrace.c synth_opts->period = PERF_ITRACE_DEFAULT_PERIOD; synth_opts 536 tools/perf/util/auxtrace.h void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts, synth_opts 46 tools/perf/util/cs-etm.c struct itrace_synth_opts synth_opts; synth_opts 253 tools/perf/util/cs-etm.c if (etm->synth_opts.last_branch) { synth_opts 256 tools/perf/util/cs-etm.c sz += etm->synth_opts.last_branch_sz * synth_opts 880 tools/perf/util/cs-etm.c nr = etmq->etm->synth_opts.last_branch_sz - tidq->last_branch_pos; synth_opts 892 tools/perf/util/cs-etm.c if (bs_src->nr >= etmq->etm->synth_opts.last_branch_sz) { synth_opts 973 tools/perf/util/cs-etm.c tidq->last_branch_pos = etmq->etm->synth_opts.last_branch_sz; synth_opts 988 tools/perf/util/cs-etm.c if (bs->nr < etmq->etm->synth_opts.last_branch_sz) synth_opts 1137 tools/perf/util/cs-etm.c if (etm->synth_opts.last_branch) { synth_opts 1142 tools/perf/util/cs-etm.c if (etm->synth_opts.inject) { synth_opts 1156 tools/perf/util/cs-etm.c if (etm->synth_opts.last_branch) synth_opts 1202 tools/perf/util/cs-etm.c if (etm->synth_opts.last_branch) { synth_opts 1213 tools/perf/util/cs-etm.c if (etm->synth_opts.inject) { synth_opts 1306 tools/perf/util/cs-etm.c if (etm->synth_opts.branches) { synth_opts 1320 tools/perf/util/cs-etm.c if (etm->synth_opts.last_branch) synth_opts 1323 tools/perf/util/cs-etm.c if (etm->synth_opts.instructions) { synth_opts 1325 tools/perf/util/cs-etm.c attr.sample_period = etm->synth_opts.period; synth_opts 1354 tools/perf/util/cs-etm.c if (etm->synth_opts.last_branch && synth_opts 1407 tools/perf/util/cs-etm.c if (etm->sample_branches || etm->synth_opts.last_branch) { synth_opts 1450 tools/perf/util/cs-etm.c if (etmq->etm->synth_opts.last_branch && synth_opts 1479 tools/perf/util/cs-etm.c if (etm->sample_branches || etm->synth_opts.last_branch) { synth_opts 1506 tools/perf/util/cs-etm.c if (etmq->etm->synth_opts.last_branch && synth_opts 2583 tools/perf/util/cs-etm.c etm->synth_opts = *session->itrace_synth_opts; synth_opts 2585 tools/perf/util/cs-etm.c itrace_synth_opts__set_default(&etm->synth_opts, synth_opts 2587 tools/perf/util/cs-etm.c etm->synth_opts.callchain = false; synth_opts 57 tools/perf/util/intel-bts.c struct itrace_synth_opts synth_opts; synth_opts 280 tools/perf/util/intel-bts.c if (bts->synth_opts.initial_skip && synth_opts 281 tools/perf/util/intel-bts.c bts->num_events++ <= bts->synth_opts.initial_skip) synth_opts 301 tools/perf/util/intel-bts.c if (bts->synth_opts.inject) { synth_opts 383 tools/perf/util/intel-bts.c if (!btsq->bts->synth_opts.errors) synth_opts 430 tools/perf/util/intel-bts.c if (btsq->bts->synth_opts.thread_stack) synth_opts 499 tools/perf/util/intel-bts.c if (!btsq->bts->synth_opts.callchain && synth_opts 500 tools/perf/util/intel-bts.c !btsq->bts->synth_opts.thread_stack && thread && synth_opts 629 tools/perf/util/intel-bts.c bts->synth_opts.errors) synth_opts 802 tools/perf/util/intel-bts.c if (bts->synth_opts.branches) { synth_opts 895 tools/perf/util/intel-bts.c bts->synth_opts = *session->itrace_synth_opts; synth_opts 897 tools/perf/util/intel-bts.c itrace_synth_opts__set_default(&bts->synth_opts, synth_opts 899 tools/perf/util/intel-bts.c bts->synth_opts.thread_stack = synth_opts 903 tools/perf/util/intel-bts.c if (bts->synth_opts.calls) synth_opts 906 tools/perf/util/intel-bts.c if (bts->synth_opts.returns) synth_opts 80 tools/perf/util/intel-pt.c struct itrace_synth_opts synth_opts; synth_opts 860 tools/perf/util/intel-pt.c if (pt->synth_opts.callchain) { synth_opts 864 tools/perf/util/intel-pt.c sz += (pt->synth_opts.callchain_sz + 1) * sizeof(u64); synth_opts 870 tools/perf/util/intel-pt.c if (pt->synth_opts.last_branch) { synth_opts 873 tools/perf/util/intel-pt.c sz += pt->synth_opts.last_branch_sz * synth_opts 909 tools/perf/util/intel-pt.c if (pt->synth_opts.instructions) { synth_opts 910 tools/perf/util/intel-pt.c if (pt->synth_opts.period) { synth_opts 911 tools/perf/util/intel-pt.c switch (pt->synth_opts.period_type) { synth_opts 915 tools/perf/util/intel-pt.c params.period = pt->synth_opts.period; synth_opts 919 tools/perf/util/intel-pt.c params.period = pt->synth_opts.period; synth_opts 924 tools/perf/util/intel-pt.c pt->synth_opts.period); synth_opts 1144 tools/perf/util/intel-pt.c nr = ptq->pt->synth_opts.last_branch_sz - ptq->last_branch_pos; synth_opts 1149 tools/perf/util/intel-pt.c if (bs_src->nr >= ptq->pt->synth_opts.last_branch_sz) { synth_opts 1169 tools/perf/util/intel-pt.c ptq->last_branch_pos = ptq->pt->synth_opts.last_branch_sz; synth_opts 1181 tools/perf/util/intel-pt.c if (bs->nr < ptq->pt->synth_opts.last_branch_sz) synth_opts 1187 tools/perf/util/intel-pt.c return pt->synth_opts.initial_skip && synth_opts 1188 tools/perf/util/intel-pt.c pt->num_events++ < pt->synth_opts.initial_skip; synth_opts 1198 tools/perf/util/intel-pt.c return pt->synth_opts.initial_skip && synth_opts 1199 tools/perf/util/intel-pt.c pt->num_events + 4 < pt->synth_opts.initial_skip; synth_opts 1246 tools/perf/util/intel-pt.c if (!pt->synth_opts.inject) synth_opts 1294 tools/perf/util/intel-pt.c if (pt->synth_opts.last_branch && sort__mode == SORT_MODE__BRANCH) { synth_opts 1323 tools/perf/util/intel-pt.c if (pt->synth_opts.callchain) { synth_opts 1325 tools/perf/util/intel-pt.c pt->synth_opts.callchain_sz + 1, synth_opts 1330 tools/perf/util/intel-pt.c if (pt->synth_opts.last_branch) { synth_opts 1346 tools/perf/util/intel-pt.c if (pt->synth_opts.last_branch) synth_opts 1751 tools/perf/util/intel-pt.c pt->synth_opts.callchain) { synth_opts 1753 tools/perf/util/intel-pt.c pt->synth_opts.callchain_sz, sample.ip, synth_opts 1785 tools/perf/util/intel-pt.c } else if (pt->synth_opts.last_branch) { synth_opts 1971 tools/perf/util/intel-pt.c if (pt->synth_opts.callchain || pt->synth_opts.thread_stack) synth_opts 1984 tools/perf/util/intel-pt.c if (pt->synth_opts.last_branch) synth_opts 2194 tools/perf/util/intel-pt.c if (pt->synth_opts.errors) { synth_opts 2566 tools/perf/util/intel-pt.c pt->synth_opts.errors) { synth_opts 2783 tools/perf/util/intel-pt.c if (pt->synth_opts.branches) { synth_opts 2797 tools/perf/util/intel-pt.c if (pt->synth_opts.callchain) synth_opts 2799 tools/perf/util/intel-pt.c if (pt->synth_opts.last_branch) synth_opts 2802 tools/perf/util/intel-pt.c if (pt->synth_opts.instructions) { synth_opts 2804 tools/perf/util/intel-pt.c if (pt->synth_opts.period_type == PERF_ITRACE_PERIOD_NANOSECS) synth_opts 2806 tools/perf/util/intel-pt.c intel_pt_ns_to_ticks(pt, pt->synth_opts.period); synth_opts 2808 tools/perf/util/intel-pt.c attr.sample_period = pt->synth_opts.period; synth_opts 2821 tools/perf/util/intel-pt.c if (pt->synth_opts.transactions) { synth_opts 2836 tools/perf/util/intel-pt.c if (pt->synth_opts.ptwrites) { synth_opts 2848 tools/perf/util/intel-pt.c if (pt->synth_opts.pwr_events) { synth_opts 2861 tools/perf/util/intel-pt.c if (pt->synth_opts.pwr_events && (evsel->core.attr.config & 0x10)) { synth_opts 2902 tools/perf/util/intel-pt.c if (!pt->synth_opts.other_events) synth_opts 3231 tools/perf/util/intel-pt.c pt->synth_opts = *session->itrace_synth_opts; synth_opts 3233 tools/perf/util/intel-pt.c itrace_synth_opts__set_default(&pt->synth_opts, synth_opts 3237 tools/perf/util/intel-pt.c pt->synth_opts.branches = false; synth_opts 3238 tools/perf/util/intel-pt.c pt->synth_opts.callchain = true; synth_opts 3240 tools/perf/util/intel-pt.c pt->synth_opts.thread_stack = synth_opts 3244 tools/perf/util/intel-pt.c if (pt->synth_opts.log) synth_opts 3264 tools/perf/util/intel-pt.c if (pt->synth_opts.calls) synth_opts 3267 tools/perf/util/intel-pt.c if (pt->synth_opts.returns) synth_opts 3271 tools/perf/util/intel-pt.c if (pt->synth_opts.callchain && !symbol_conf.use_callchain) { synth_opts 3275 tools/perf/util/intel-pt.c pt->synth_opts.callchain = false;