From: Arnaldo Carvalho de Melo Date: Wed, 27 Mar 2019 18:22:52 +0000 (-0300) Subject: perf tools: Add header defining used namespace struct to event.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=514c54039da970f953164c1960d0284f87db969d;p=linux.git 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 Cc: Hari Bathini Cc: Jiri Olsa Cc: Namhyung Kim Fixes: f3b3614a284d ("perf tools: Add PERF_RECORD_NAMESPACES to include namespaces related info") Link: https://lkml.kernel.org/n/tip-qkrld0v7boc9uabjbd8csxux@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h index 36ae7e92dab1d..4e908ec1ef649 100644 --- a/tools/perf/util/event.h +++ b/tools/perf/util/event.h @@ -6,6 +6,7 @@ #include #include #include +#include #include "../perf.h" #include "build-id.h"