perf tools: Add header defining used namespace struct to event.h
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: 514c54039da970f953164c1960d0284f87db969d Gitweb: https://git.kernel.org/tip/514c54039da970f953164c1960d0284f87db969d Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Wed, 27 Mar 2019 15:22:52 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Mon, 1 Apr 2019 14:49:24 -0300
perf tools: Add header defining used namespace struct to event.h
When adding the 'struct namespaces_event' to event.h, referencing the 'struct perf_ns_link_info' type, we forgot to add the header where it is defined, getting that definition only by sheer luck.
Cc Adrian Hunter <[email protected]>
Cc Hari Bathini <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Fixes f3b3614a284d ("perf tools: Add PERF_RECORD_NAMESPACES to include namespaces related info")
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/util/event.h | 1 + 1 file changed, 1 insertion(+)
tools/perf/util/event.h +1 -0
@@ -6,6 +6,7 @@#include <stdio.h> #include <linux/kernel.h> #include <linux/bpf.h> +#include <linux/perf_event.h> #include "../perf.h" #include "build-id.h"