Skip to content
Commit e55190f2 authored by Björn Töpel's avatar Björn Töpel Committed by Daniel Borkmann
Browse files

samples/bpf: Fix build for task_fd_query_user.c

Add missing include for <linux/perf_event.h> which was removed from
perf-sys.h in commit 91854f9a ("perf tools: Move everything
related to sys_perf_event_open() to perf-sys.h").

Fixes: 91854f9a

 ("perf tools: Move everything related to sys_perf_event_open() to perf-sys.h")
Reported-by: default avatarKP Singh <kpsingh@google.com>
Reported-by: default avatarFlorent Revest <revest@google.com>
Signed-off-by: default avatarBjörn Töpel <bjorn.topel@intel.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Tested-by: default avatarKP Singh <kpsingh@google.com>
Acked-by: default avatarSong Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20191001112249.27341-1-bjorn.topel@gmail.com
parent a2d074e4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment