Home
last modified time | relevance | path

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

/linux-6.1.9/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()
87 (!target__has_cpu(target) && !target->uses_mmap)) in target__uses_dummy_map()
Dbpf_lock_contention.c43 if (target__has_cpu(target)) in lock_contention_prepare()
56 if (target__has_cpu(target)) { in lock_contention_prepare()
Dstat.c594 if (target__has_cpu(target) && !target__has_per_thread(target)) in create_perf_stat_counter()
Devsel.c1244 if (target__has_cpu(&opts->target) || opts->sample_cpu) in evsel__config()
1252 (!opts->no_inherit || target__has_cpu(&opts->target) || per_cpu || in evsel__config()
3054 if (!target__has_cpu(target)) in evsel__open_strerror()
Dsynthetic-events.c1935 else if (target__has_cpu(target)) in __machine__synthesize_threads()
/linux-6.1.9/tools/perf/
Dbuiltin-stat.c428 if (!target__has_cpu(&target) || target__has_per_thread(&target)) in read_affinity_counters()
1859 if (nr_cgroups || !target__has_cpu(&target)) { in add_default_attributes()
1899 if (target__has_cpu(&target)) in add_default_attributes()
2369 !target__has_cpu(&target)) { in cmd_stat()
2389 if (iostat_mode == IOSTAT_RUN && !target__has_cpu(&target)) in cmd_stat()
2451 } else if (target__has_cpu(&target)) { in cmd_stat()
Dbuiltin-ftrace.c265 if (target__has_cpu(&ftrace->target)) in set_tracing_pid()
306 if (!target__has_cpu(&ftrace->target)) in set_tracing_cpu()
Dbuiltin-record.c1299 if (opts->initial_delay || target__has_cpu(&opts->target) || in record__open()
1315 !target__has_cpu(&opts->target)) in record__open()