mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 23:06:50 +07:00
19 lines
332 B
C
19 lines
332 B
C
|
#ifndef _PERF_TARGET_H
|
||
|
#define _PERF_TARGET_H
|
||
|
|
||
|
#include <stdbool.h>
|
||
|
#include <sys/types.h>
|
||
|
|
||
|
struct perf_target {
|
||
|
const char *pid;
|
||
|
const char *tid;
|
||
|
const char *cpu_list;
|
||
|
const char *uid_str;
|
||
|
uid_t uid;
|
||
|
bool system_wide;
|
||
|
};
|
||
|
|
||
|
void perf_target__validate(struct perf_target *target);
|
||
|
|
||
|
#endif /* _PERF_TARGET_H */
|