Home
last modified time | relevance | path

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

/Linux-v5.15/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()
Dstat.c587 if (target__has_cpu(target) && !target__has_per_thread(target)) in create_perf_stat_counter()
Devsel.c1170 if (target__has_cpu(&opts->target) || opts->sample_cpu) in evsel__config()
1178 (!opts->no_inherit || target__has_cpu(&opts->target) || per_cpu || in evsel__config()
Dsynthetic-events.c1783 else if (target__has_cpu(target)) in __machine__synthesize_threads()
/Linux-v5.15/tools/perf/
Dbuiltin-stat.c419 if (!target__has_cpu(&target) || target__has_per_thread(&target)) in read_affinity_counters()
1867 if (nr_cgroups || !target__has_cpu(&target)) { in add_default_attributes()
1901 if (target__has_cpu(&target)) in add_default_attributes()
1920 if (target__has_cpu(&target)) in add_default_attributes()
2391 !target__has_cpu(&target)) { in cmd_stat()
2411 if (iostat_mode == IOSTAT_RUN && !target__has_cpu(&target)) in cmd_stat()
2448 } else if (target__has_cpu(&target)) { in cmd_stat()
Dbuiltin-ftrace.c287 if (target__has_cpu(&ftrace->target)) in set_tracing_pid()
328 if (!target__has_cpu(&ftrace->target)) in set_tracing_cpu()
Dbuiltin-record.c898 if (opts->initial_delay || target__has_cpu(&opts->target) || in record__open()
914 !target__has_cpu(&opts->target)) in record__open()