Namhyung Kim | 12864b3 | 2012-04-26 14:15:22 +0900 | [diff] [blame^] | 1 | #ifndef _PERF_TARGET_H |
2 | #define _PERF_TARGET_H | ||||
3 | |||||
4 | #include <stdbool.h> | ||||
5 | #include <sys/types.h> | ||||
6 | |||||
7 | struct perf_target { | ||||
8 | const char *pid; | ||||
9 | const char *tid; | ||||
10 | const char *cpu_list; | ||||
11 | const char *uid_str; | ||||
12 | uid_t uid; | ||||
13 | bool system_wide; | ||||
14 | }; | ||||
15 | |||||
16 | void perf_target__validate(struct perf_target *target); | ||||
17 | |||||
18 | #endif /* _PERF_TARGET_H */ |