diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2017-10-19 15:11:17 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-10-23 16:30:54 -0300 |
commit | b1f03ca4ee784390457dfb2009601cd7dcac025e (patch) | |
tree | d45485f16e3a044a1ec545813f6246a998b058a9 | |
parent | 79f56ebe2ae33aa54c69bbc9854a9a31f622913e (diff) |
perf namespaces: Add more appropriate set of headers
We don't need perf.h, that is a kitchen sink, all we need is
perf_events.h for perf_ns_link_info, sys/types.h for pid_t and
linux/types.h for u64, list_head.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Li Zhijian <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r-- | tools/perf/util/namespaces.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/perf/util/namespaces.h b/tools/perf/util/namespaces.h index 05d82601c9a6..760558dcfd18 100644 --- a/tools/perf/util/namespaces.h +++ b/tools/perf/util/namespaces.h @@ -9,9 +9,10 @@ #ifndef __PERF_NAMESPACES_H #define __PERF_NAMESPACES_H -#include "../perf.h" -#include <linux/list.h> +#include <sys/types.h> +#include <linux/perf_event.h> #include <linux/refcount.h> +#include <linux/types.h> struct namespaces_event; |