Skip to content

Commit b3f4d6d

Browse files
jeromemarchandekyooo
authored andcommitted
libbpf-tools/javagc: Include usdt.bpf.h header
Include usdt.bpf.h header to javagc.bpf.c. Fixes the following error: libbpf: usdt: failed to find USDT support BPF maps, did you forget to include bpf/usdt.bpf.h? attach usdt mem__pool__gc__begin failed: No such process Signed-off-by: Jerome Marchand <[email protected]>
1 parent 212540c commit b3f4d6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libbpf-tools/javagc.bpf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <vmlinux.h>
44
#include <bpf/bpf_helpers.h>
55
#include <bpf/bpf_core_read.h>
6+
#include <bpf/usdt.bpf.h>
67
#include "javagc.h"
78

89
struct {

0 commit comments

Comments
 (0)