Home
last modified time | relevance | path

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

/tools/perf/util/
A Dtarget.h57 static inline bool target__has_cpu(struct target *target) in target__has_cpu() function
64 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()
A Dbpf_lock_contention.c217 if (target__has_cpu(target)) { in lock_contention_prepare()
317 if (target__has_cpu(target)) { in lock_contention_prepare()
A Devsel.c1306 attr->inherit = target__has_cpu(&opts->target) ? 0 : !opts->no_inherit; in evsel__config()
1396 if (target__has_cpu(&opts->target) || opts->sample_cpu) in evsel__config()
1404 (!opts->no_inherit || target__has_cpu(&opts->target) || per_cpu || in evsel__config()
3548 evsel->core.attr.config = target__has_cpu(target) in evsel__fallback()
3553 target__has_cpu(target) ? "cpu-clock" : "task-clock"); in evsel__fallback()
3812 if (!target__has_cpu(target)) in evsel__open_strerror()
3843 if (!target__has_cpu(target)) in evsel__open_strerror()
A Dbpf-filter.c453 bool needs_idx_hash = !target__has_cpu(target); in perf_bpf_filter__prepare()
A Dsynthetic-events.c1972 else if (target__has_cpu(target)) in __machine__synthesize_threads()
/tools/perf/
A Dbuiltin-stat.c356 if (!target__has_cpu(&target) || target__has_per_thread(&target)) in read_affinity_counters()
1948 if (target__has_cpu(&target)) in add_default_events()
2694 !target__has_cpu(&target)) { in cmd_stat()
2714 if (iostat_mode == IOSTAT_RUN && !target__has_cpu(&target)) in cmd_stat()
2776 } else if (target__has_cpu(&target)) { in cmd_stat()
A Dbuiltin-ftrace.c375 if (target__has_cpu(&ftrace->target)) in set_tracing_pid()
416 if (!target__has_cpu(&ftrace->target)) in set_tracing_cpu()
A Dbuiltin-record.c984 if (opts->target.initial_delay || target__has_cpu(&opts->target) || in record__config_tracking_events()
1003 !target__has_cpu(&opts->target)) in record__config_tracking_events()

Completed in 35 milliseconds