mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 commit91854f9a07("perf tools: Move everything related to sys_perf_event_open() to perf-sys.h"). Fixes:91854f9a07("perf tools: Move everything related to sys_perf_event_open() to perf-sys.h") Reported-by: KP Singh <[email protected]> Reported-by: Florent Revest <[email protected]> Signed-off-by: Björn Töpel <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Tested-by: KP Singh <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
This commit is contained in:
parent
a2d074e4c6
commit
e55190f26f
1 changed files with 1 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue