target.h 332 B

123456789101112131415161718
  1. #ifndef _PERF_TARGET_H
  2. #define _PERF_TARGET_H
  3. #include <stdbool.h>
  4. #include <sys/types.h>
  5. struct perf_target {
  6. const char *pid;
  7. const char *tid;
  8. const char *cpu_list;
  9. const char *uid_str;
  10. uid_t uid;
  11. bool system_wide;
  12. };
  13. void perf_target__validate(struct perf_target *target);
  14. #endif /* _PERF_TARGET_H */