Closed JonBruchim closed 3 years ago
Im using Debian 9 vm with kernel 4.9.0.15 and while trying the gobpf tests I receive the following error. Loading kprobe fails.
sudo go test -tags integration -v ./... === RUN TestModuleLoadBCC --- PASS: TestModuleLoadBCC (0.34s) === RUN TestBCCIterTable --- PASS: TestBCCIterTable (0.33s) === RUN TestBCCTableSetPGetPDeleteP --- PASS: TestBCCTableSetPGetPDeleteP (0.32s) === RUN TestBCCTableDeleteAll --- PASS: TestBCCTableDeleteAll (0.32s) === RUN TestModuleLoadELF --- FAIL: TestModuleLoadELF (0.01s) bpf_test.go:668: error while loading "kprobe/dummy" (invalid argument):
What could be the reason for this? in my own code I also can't use kprobes and receive the same error
Thanks
Im using Debian 9 vm with kernel 4.9.0.15 and while trying the gobpf tests I receive the following error. Loading kprobe fails.
sudo go test -tags integration -v ./... === RUN TestModuleLoadBCC --- PASS: TestModuleLoadBCC (0.34s) === RUN TestBCCIterTable --- PASS: TestBCCIterTable (0.33s) === RUN TestBCCTableSetPGetPDeleteP --- PASS: TestBCCTableSetPGetPDeleteP (0.32s) === RUN TestBCCTableDeleteAll --- PASS: TestBCCTableDeleteAll (0.32s) === RUN TestModuleLoadELF --- FAIL: TestModuleLoadELF (0.01s) bpf_test.go:668: error while loading "kprobe/dummy" (invalid argument):
What could be the reason for this? in my own code I also can't use kprobes and receive the same error
Thanks