Home
last modified time | relevance | path

Searched refs:per_thread (Results 1 – 13 of 13) sorted by relevance

/linux/tools/perf/util/
H A Dtarget.c53 if (target->bpf_str && target->per_thread) { in target__validate()
54 target->per_thread = false; in target__validate()
60 if (target->per_thread && (target->system_wide || target->cpu_list)) { in target__validate()
61 target->per_thread = false; in target__validate()
H A Dtarget.h16 bool per_thread; member
80 return target->system_wide && target->per_thread; in target__has_per_thread()
88 use_dummy = target->per_thread ? true : false; in target__uses_dummy_map()
H A Dsession.c1264 bool per_thread) in deliver_sample_value()
1272 storage = perf_sample_id__get_period_storage(sid, sample->tid, per_thread); in deliver_sample_value()
1305 bool per_thread) in deliver_sample_group()
1312 per_thread); in deliver_sample_group()
1316 machine, per_thread); in evlist__deliver_sample()
1331 bool per_thread = perf_evsel__attr_has_per_thread_sample_period(&evsel->core); in evlist__deliver_sample()
1340 machine, read_format, per_thread);
1344 per_thread);
1257 deliver_sample_value(struct evlist * evlist,const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct sample_read_value * v,struct machine * machine,bool per_thread) deliver_sample_value() argument
1295 deliver_sample_group(struct evlist * evlist,const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine,u64 read_format,bool per_thread) deliver_sample_group() argument
1321 bool per_thread = perf_evsel__attr_has_per_thread_sample_period(&evsel->core); evlist__deliver_sample() local
H A Devlist.c1058 bool all_threads = (target->per_thread && target->system_wide); in evlist__create_maps()
1064 * will override '--per-thread'. target->per_thread = false and in evlist__create_maps()
1068 * target->per_thread = true and target->system_wide = false. in evlist__create_maps()
1070 * So target->per_thread && target->system_wide is false. in evlist__create_maps()
1075 * For perf stat, it allows the case that target->per_thread and in evlist__create_maps()
H A Devsel.c1505 bool per_cpu = opts->target.default_per_cpu && !opts->target.per_thread; in evsel__config()
/linux/tools/lib/perf/include/internal/
H A Devsel.h151 bool per_thread);
/linux/tools/perf/tests/shell/lib/
H A Dperf_json_output_lint.py102 elif args.interval or args.per_thread or args.system_wide_no_aggr:
/linux/arch/riscv/include/asm/
H A Dprocessor.h209 extern int riscv_set_icache_flush_ctx(unsigned long ctx, unsigned long per_thread);
/linux/tools/lib/perf/
H A Devsel.c569 u64 *perf_sample_id__get_period_storage(struct perf_sample_id *sid, u32 tid, bool per_thread) in perf_sample_id__get_period_storage()
575 if (!per_thread) in perf_sample_id__get_period_storage()
567 perf_sample_id__get_period_storage(struct perf_sample_id * sid,u32 tid,bool per_thread) perf_sample_id__get_period_storage() argument
/linux/tools/perf/bench/
H A Devlist-open-close.c239 OPT_BOOLEAN(0, "per-thread", &opts.target.per_thread, "use per-thread mmaps"), in bench_evlist_open_close()
/linux/tools/perf/
H A Dbuiltin-record.c1065 bool per_thread = evlist__per_thread(evlist); in record__thread_data_init_maps() local
1067 if (per_thread) in record__thread_data_init_maps()
1088 if (per_thread || in record__thread_data_init_maps()
3555 OPT_BOOLEAN(0, "per-thread", &record.opts.target.per_thread,
H A Dbuiltin-stat.c2828 target.per_thread = true; in cmd_stat()
/linux/tools/power/x86/turbostat/
H A Dturbostat.c8964 const bool per_thread = cai->flags & CSTATE_COUNTER_FLAG_COLLECT_PER_THREAD; in cstate_perf_init_() local
8967 if (!per_thread && cores_visited[core_id]) in cstate_perf_init_()