Searched refs:target__has_cpu (Results 1 – 8 of 8) sorted by relevance
57 static inline bool target__has_cpu(struct target *target) in target__has_cpu() function64 return !target__has_task(target) && !target__has_cpu(target); in target__none()90 (!target__has_cpu(target) && !target->uses_mmap)) in target__uses_dummy_map()
223 if (target__has_cpu(target)) { in lock_contention_prepare()323 if (target__has_cpu(target)) { in lock_contention_prepare()
1502 attr->inherit = target__has_cpu(&opts->target) ? 0 : !opts->no_inherit; in evsel__config()1593 if (target__has_cpu(&opts->target) || opts->sample_cpu) in evsel__config()1601 (!opts->no_inherit || target__has_cpu(&opts->target) || per_cpu || in evsel__config()3799 evsel->core.attr.config = target__has_cpu(target) in evsel__fallback()3804 target__has_cpu(target) ? "cpu-clock" : "task-clock"); in evsel__fallback()4066 if (!target__has_cpu(target)) in evsel__open_strerror()4098 if (!pmu->is_core && !target__has_cpu(target)) in evsel__open_strerror()
454 bool needs_idx_hash = !target__has_cpu(target); in perf_bpf_filter__prepare()
1977 else if (target__has_cpu(target)) in __machine__synthesize_threads()
2773 !target__has_cpu(&target)) { in cmd_stat()2793 if (iostat_mode == IOSTAT_RUN && !target__has_cpu(&target)) in cmd_stat()2865 if ((counter->bpf_counter || target.use_bpf) && !target__has_cpu(&target)) in cmd_stat()2874 } else if (target__has_cpu(&target)) { in cmd_stat()
376 if (target__has_cpu(&ftrace->target)) in set_tracing_pid()417 if (!target__has_cpu(&ftrace->target)) in set_tracing_cpu()
948 if (opts->target.initial_delay || target__has_cpu(&opts->target) || in record__config_tracking_events()966 !target__has_cpu(&opts->target)) in record__config_tracking_events()