Home
last modified time | relevance | path

Searched refs:target__has_cpu (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/tools/perf/util/
Dtarget.h65 static inline bool target__has_cpu(struct target *target) in target__has_cpu() function
72 return !target__has_task(target) && !target__has_cpu(target); in target__none()
98 (!target__has_cpu(target) && !target->uses_mmap)) in target__uses_dummy_map()
Dbpf_lock_contention.c49 if (target__has_cpu(target)) { in lock_contention_prepare()
117 if (target__has_cpu(target)) { in lock_contention_prepare()
Devsel.c1235 if (target__has_cpu(&opts->target) || opts->sample_cpu) in evsel__config()
1243 (!opts->no_inherit || target__has_cpu(&opts->target) || per_cpu || in evsel__config()
3212 evsel->core.attr.config = target__has_cpu(target) in evsel__fallback()
3217 target__has_cpu(target) ? "cpu-clock" : "task-clock"); in evsel__fallback()
3399 if (!target__has_cpu(target)) in evsel__open_strerror()
Dbpf-filter.c452 bool needs_idx_hash = !target__has_cpu(target) && !target->uid_str; in perf_bpf_filter__prepare()
Dstat.c797 if (target__has_cpu(target) && !target__has_per_thread(target)) in create_perf_stat_counter()
Dsynthetic-events.c1954 else if (target__has_cpu(target)) in __machine__synthesize_threads()
/linux-6.12.1/tools/perf/
Dbuiltin-stat.c374 if (!target__has_cpu(&target) || target__has_per_thread(&target)) in read_affinity_counters()
2037 if (target__has_cpu(&target)) in add_default_attributes()
2705 !target__has_cpu(&target)) { in cmd_stat()
2725 if (iostat_mode == IOSTAT_RUN && !target__has_cpu(&target)) in cmd_stat()
2789 } else if (target__has_cpu(&target)) { in cmd_stat()
Dbuiltin-ftrace.c305 if (target__has_cpu(&ftrace->target)) in set_tracing_pid()
346 if (!target__has_cpu(&ftrace->target)) in set_tracing_cpu()
Dbuiltin-record.c960 if (opts->target.initial_delay || target__has_cpu(&opts->target) || in record__config_tracking_events()
979 !target__has_cpu(&opts->target)) in record__config_tracking_events()