input插件中ebpf功能启动报错 #1231
Replies: 1 comment 2 replies
-
uname -r 提供一下 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
按照用户手册升级了内核以及下载了so文件,启动ilogtai后还是报错
错误日志:[error] [28554] /workspaces/ilogtail/core/observer/network/sources/ebpf/EBPFWrapper.cpp:386 init ebpf:failed error:ebpf_init func failed
自己排错定位到:
int err = g_ebpf_init_func(&btfPath.at(0),
static_cast<int32_t>(btfPath.size()),
&soPath.at(0),
static_cast<int32_t>(soPath.size()),
cleanup_offset,
update_conn_offset,
disable_process_offset,
update_role_offset);
int32_t ebpf_init(char* btf,
int32_t btf_size,
char* so,
int32_t so_size,
long uprobe_offset,
long upca_offset,
long upps_offset,
long upcr_offset);
看到提示说* @btf btf路径包括btf文件全名, 传NULL就默认在/usr/lib/vmlinux-**
发现自己的linux机器上/usr/lib 路径下并没有vmlinux-**
首先就考虑错误应该是这个路径未找到
请问这个btf文件是什么?该如何下载?
Beta Was this translation helpful? Give feedback.
All reactions