Searched refs:target__has_cpu (Results 1 – 9 of 9) sorted by relevance
66 static inline bool target__has_cpu(struct target *target) in target__has_cpu() function73 return !target__has_task(target) && !target__has_cpu(target); in target__none()99 (!target__has_cpu(target) && !target->uses_mmap)) in target__uses_dummy_map()
149 if (target__has_cpu(target)) { in lock_contention_prepare()226 if (target__has_cpu(target)) { in lock_contention_prepare()
1320 attr->inherit = target__has_cpu(&opts->target) ? 0 : !opts->no_inherit; in evsel__config()1410 if (target__has_cpu(&opts->target) || opts->sample_cpu) in evsel__config()1418 (!opts->no_inherit || target__has_cpu(&opts->target) || per_cpu || in evsel__config()3491 evsel->core.attr.config = target__has_cpu(target) in evsel__fallback()3496 target__has_cpu(target) ? "cpu-clock" : "task-clock"); in evsel__fallback()3782 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()
806 if (target__has_cpu(target) && !target__has_per_thread(target)) in create_perf_stat_counter()
1960 else if (target__has_cpu(target)) in __machine__synthesize_threads()
358 if (!target__has_cpu(&target) || target__has_per_thread(&target)) in read_affinity_counters()1958 if (target__has_cpu(&target)) in add_default_events()2669 !target__has_cpu(&target)) { in cmd_stat()2689 if (iostat_mode == IOSTAT_RUN && !target__has_cpu(&target)) in cmd_stat()2753 } else if (target__has_cpu(&target)) { in cmd_stat()
307 if (target__has_cpu(&ftrace->target)) in set_tracing_pid()348 if (!target__has_cpu(&ftrace->target)) in set_tracing_cpu()
963 if (opts->target.initial_delay || target__has_cpu(&opts->target) || in record__config_tracking_events()982 !target__has_cpu(&opts->target)) in record__config_tracking_events()