mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-14 17:59:57 +07:00
docs: need CONFIG_KPROBE_EVENTS for bpf features judging
This commit is contained in:
@ -214,7 +214,7 @@ retryLoadBpf:
|
||||
} else if strings.Contains(err.Error(), "unknown func bpf_trace_printk") {
|
||||
err = fmt.Errorf(`%w: please try to compile dae without bpf_printk; example of cross-compilation to arm64: make GOARCH=arm64 CGO_ENABLED=0 CFLAGS="-D__REMOVE_BPF_PRINTK"`, err)
|
||||
} else if strings.Contains(err.Error(), "unknown func bpf_probe_read") {
|
||||
err = fmt.Errorf(`%w: please re-compile linux kernel with CONFIG_BPF_EVENTS=y"`, err)
|
||||
err = fmt.Errorf(`%w: please re-compile linux kernel with CONFIG_BPF_EVENTS=y and CONFIG_KPROBE_EVENTS=y"`, err)
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user