aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/namespaces.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/namespaces.c')
-rw-r--r--tools/perf/util/namespaces.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/namespaces.c b/tools/perf/util/namespaces.c
index 46d3a7754897..99be15dd2b6b 100644
--- a/tools/perf/util/namespaces.c
+++ b/tools/perf/util/namespaces.c
@@ -19,7 +19,7 @@
19#include <asm/bug.h> 19#include <asm/bug.h>
20#include <linux/zalloc.h> 20#include <linux/zalloc.h>
21 21
22struct namespaces *namespaces__new(struct namespaces_event *event) 22struct namespaces *namespaces__new(struct perf_record_namespaces *event)
23{ 23{
24 struct namespaces *namespaces; 24 struct namespaces *namespaces;
25 u64 link_info_size = ((event ? event->nr_namespaces : NR_NAMESPACES) * 25 u64 link_info_size = ((event ? event->nr_namespaces : NR_NAMESPACES) *