Lines Matching refs:target
15 #include "target.h"
915 int perf_evlist__create_maps(struct evlist *evlist, struct target *target)
917 bool all_threads = (target->per_thread && target->system_wide);
923 * will override '--per-thread'. target->per_thread = false and
924 * target->system_wide = true.
927 * target->per_thread = true and target->system_wide = false.
929 * So target->per_thread && target->system_wide is false.
934 * For perf stat, it allows the case that target->per_thread and
935 * target->system_wide are all true. It means to collect system-wide
939 threads = thread_map__new_str(target->pid, target->tid, target->uid,
945 if (target__uses_dummy_map(target))
948 cpus = perf_cpu_map__new(target->cpu_list);
953 evlist->core.has_user_cpus = !!target->cpu_list;
1326 int perf_evlist__prepare_workload(struct evlist *evlist, struct target *target,
1407 if (target__none(target)) {