提交 c72788da 编写于 作者: A Arnaldo Carvalho de Melo 提交者: Xie XiuQi

perf tools: Add header defining used namespace struct to event.h

mainline inclusion
from mainline-514c54039da9 undefined
commit 514c54039da9
category: bugfix
bugzilla: 14466
CVE: NA

-------------------------------------------------

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 <adrian.hunter@intel.com>
Cc: Hari Bathini <hbathini@linux.vnet.ibm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Fixes: f3b3614a ("perf tools: Add PERF_RECORD_NAMESPACES to include namespaces related info")
Link: https://lkml.kernel.org/n/tip-qkrld0v7boc9uabjbd8csxux@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: NWei Li <liwei391@huawei.com>
Reviewed-by: NJian Cheng <cj.chengjian@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 c1b5aac8
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include <limits.h> #include <limits.h>
#include <stdio.h> #include <stdio.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/perf_event.h>
#include "../perf.h" #include "../perf.h"
#include "build-id.h" #include "build-id.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册