Skip to content

Commit 68a42f8

Browse files
add ebpf-required config (#6)
* add ebpf-required config * update README.md Co-authored-by: Dean Sheather <dean@coder.com> * update README.md Co-authored-by: Dean Sheather <dean@coder.com> Co-authored-by: Dean Sheather <dean@coder.com>
1 parent 78e0433 commit 68a42f8

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,17 @@ kernel to receive details about the `exec` family of syscalls.
99
## Requirements
1010

1111
exectrace only supports Go 1.16+ and Linux kernel 5.8+ (due to the use of
12-
`BPF_MAP_TYPE_RINGBUF`).
12+
`BPF_MAP_TYPE_RINGBUF`). Additionally, the kernel config `CONFIG_DEBUG_INFO_BTF=y` is required.
13+
14+
To validate this config is enabled, run either of the following commands directly on the system:
15+
16+
```console
17+
cat /proc/config.gz | gunzip | grep CONFIG_DEBUG_INFO_BTF
18+
```
19+
20+
```console
21+
$ cat "/boot/config-$(uname -r)" | grep CONFIG_DEBUG_INFO_BTF
22+
```
1323

1424
## Installation
1525

0 commit comments

Comments
 (0)