summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/target.h
blob: 218291f921eda5096a0225d5734e0b5ee6355faf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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 */