[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191001112249.27341-1-bjorn.topel@gmail.com>
Date: Tue, 1 Oct 2019 13:22:49 +0200
From: Björn Töpel <bjorn.topel@...il.com>
To: netdev@...r.kernel.org, ast@...nel.org, daniel@...earbox.net
Cc: Björn Töpel <bjorn.topel@...el.com>,
bpf@...r.kernel.org
Subject: [PATCH bpf] samples/bpf: fix build for task_fd_query_user.c
From: Björn Töpel <bjorn.topel@...el.com>
Add missing "linux/perf_event.h" include file.
Signed-off-by: Björn Töpel <bjorn.topel@...el.com>
---
samples/bpf/task_fd_query_user.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/samples/bpf/task_fd_query_user.c b/samples/bpf/task_fd_query_user.c
index e39938058223..4c31b305e6ef 100644
--- a/samples/bpf/task_fd_query_user.c
+++ b/samples/bpf/task_fd_query_user.c
@@ -13,6 +13,7 @@
#include <sys/resource.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <linux/perf_event.h>
#include "libbpf.h"
#include "bpf_load.h"
--
2.20.1
Powered by blists - more mailing lists