Skip to content

Commit 1fbedbc

Browse files
ericpaulsendeansheatherKatie Horne
authored
add ebpf-required config (coder#809)
* add ebpf-required config * feat: add commands to check for kernel config * fix: lint * chore: wording Co-authored-by: Dean Sheather <dean@coder.com> * Update process-logging.md Co-authored-by: Dean Sheather <dean@coder.com> Co-authored-by: Katie Horne <katie@coder.com>
1 parent b56cfde commit 1fbedbc

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

admin/workspace-management/process-logging.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,18 @@ The core of this feature is also open source and can be found in the
3030
## Requirements
3131

3232
Use of the workspace process logging functionality requires a host Linux
33-
kernel >= 5.8.
33+
kernel >= 5.8 with the kernel config `CONFIG_DEBUG_INFO_BTF=y` enabled.
34+
35+
To validate this config is enabled, run either of the following commands on the
36+
nodes directly (*not* from the terminal within a workspace):
37+
38+
```console
39+
cat /proc/config.gz | gunzip | grep CONFIG_DEBUG_INFO_BTF
40+
```
41+
42+
```console
43+
cat "/boot/config-$(uname -r)" | grep CONFIG_DEBUG_INFO_BTF
44+
```
3445

3546
## Enable workspace process logging
3647

0 commit comments

Comments
 (0)