Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A 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()
H A Dbpf_lock_contention.c47 if (target__has_cpu(target)) in lock_contention_prepare()
93 if (target__has_cpu(target)) { in lock_contention_prepare()
H A Dstat.c797 if (target__has_cpu(target) && !target__has_per_thread(target)) in create_perf_stat_counter()
H A Devsel.c1218 if (target__has_cpu(&opts->target) || opts->sample_cpu) in evsel__config()
1226 (!opts->no_inherit || target__has_cpu(&opts->target) || per_cpu || in evsel__config()
3036 if (!target__has_cpu(target)) in evsel__open_strerror()
H A Dsynthetic-events.c1938 else if (target__has_cpu(target)) in __machine__synthesize_threads()
/openbmc/linux/tools/perf/
H A Dbuiltin-ftrace.c265 if (target__has_cpu(&ftrace->target)) in set_tracing_pid()
306 if (!target__has_cpu(&ftrace->target)) in set_tracing_cpu()
H A Dbuiltin-stat.c371 if (!target__has_cpu(&target) || target__has_per_thread(&target)) in read_affinity_counters()
2162 if (target__has_cpu(&target)) in add_default_attributes()
2678 !target__has_cpu(&target)) { in cmd_stat()
2698 if (iostat_mode == IOSTAT_RUN && !target__has_cpu(&target)) in cmd_stat()
2761 } else if (target__has_cpu(&target)) { in cmd_stat()
H A Dbuiltin-record.c920 if (opts->target.initial_delay || target__has_cpu(&opts->target) || in record__config_tracking_events()
931 !target__has_cpu(&opts->target)) in record__config_tracking_events()