Searched refs:target__has_cpu (Results 1 – 9 of 9) sorted by relevance
65 static inline bool target__has_cpu(struct target *target) in target__has_cpu() function72 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()
49 if (target__has_cpu(target)) { in lock_contention_prepare()117 if (target__has_cpu(target)) { in lock_contention_prepare()
1235 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()
452 bool needs_idx_hash = !target__has_cpu(target) && !target->uid_str; in perf_bpf_filter__prepare()
797 if (target__has_cpu(target) && !target__has_per_thread(target)) in create_perf_stat_counter()
1954 else if (target__has_cpu(target)) in __machine__synthesize_threads()
374 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()
305 if (target__has_cpu(&ftrace->target)) in set_tracing_pid()346 if (!target__has_cpu(&ftrace->target)) in set_tracing_cpu()
960 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()