Lines Matching refs:target
8 struct target {
55 enum target_errno target__validate(struct target *target);
56 enum target_errno target__parse_uid(struct target *target);
58 int target__strerror(struct target *target, int errnum, char *buf, size_t buflen);
60 static inline bool target__has_task(struct target *target)
62 return target->tid || target->pid || target->uid_str;
65 static inline bool target__has_cpu(struct target *target)
67 return target->system_wide || target->cpu_list;
70 static inline bool target__none(struct target *target)
72 return !target__has_task(target) && !target__has_cpu(target);
75 static inline bool target__enable_on_exec(struct target *target)
83 return target__none(target) && !target->initial_delay;
86 static inline bool target__has_per_thread(struct target *target)
88 return target->system_wide && target->per_thread;
91 static inline bool target__uses_dummy_map(struct target *target)
95 if (target->default_per_cpu)
96 use_dummy = target->per_thread ? true : false;
97 else if (target__has_task(target) ||
98 (!target__has_cpu(target) && !target->uses_mmap))
100 else if (target__has_per_thread(target))