netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf] samples/bpf: fix build for task_fd_query_user.c
@ 2019-10-01 11:22 Björn Töpel
  2019-10-02 18:46 ` Song Liu
  0 siblings, 1 reply; 4+ messages in thread
From: Björn Töpel @ 2019-10-01 11:22 UTC (permalink / raw)
  To: netdev, ast, daniel; +Cc: Björn Töpel, bpf

From: Björn Töpel <bjorn.topel@intel.com>

Add missing "linux/perf_event.h" include file.

Signed-off-by: Björn Töpel <bjorn.topel@intel.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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-10-03 14:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-01 11:22 [PATCH bpf] samples/bpf: fix build for task_fd_query_user.c Björn Töpel
2019-10-02 18:46 ` Song Liu
2019-10-02 21:02   ` KP Singh
2019-10-03 14:54     ` Daniel Borkmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).