Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Li Zhijian <lizhijian@cn.fujitsu.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-f2uxyaj4s2hmntkrezpa6dqz@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

+3 -2
+3 -2
tools/perf/util/namespaces.h
··· 9 9 #ifndef __PERF_NAMESPACES_H 10 10 #define __PERF_NAMESPACES_H 11 11 12 - #include "../perf.h" 13 - #include <linux/list.h> 12 + #include <sys/types.h> 13 + #include <linux/perf_event.h> 14 14 #include <linux/refcount.h> 15 + #include <linux/types.h> 15 16 16 17 struct namespaces_event; 17 18