-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel callstacks not show correct #7
Comments
BTW, it seems not correct to link C program with this
The sequence of the args matters. If I change it to Maybe the doc needs to change the order? My GCC version is 7.4.0. |
I am looking into this issue. |
Issue libbpf#7 mentioned that the BlazeSym doesn't resolve any address in the kernel space if a kernel image is not given or installed in the system. KernelResolver required both kallsyms and a kernel image to create itself successfully. However, the resolver should at least partially work even with only kallsyms. Signed-off-by: Kui-Feng Lee <kuifeng@fb.com>
@woodpenker pull #11 should fix your issue. It should work with only kallsyms or a kernel image. Please check if it fixes your problem. Thank you! |
Issue libbpf#7 mentioned about link errors about the order of parameters sugguested in the README. libblazesym.a should go first before its dependencies. Signed-off-by: Kui-Feng Lee <kuifeng@fb.com>
👍 It works! I had tested it with the setting |
Issue #7 mentioned about link errors about the order of parameters sugguested in the README. libblazesym.a should go first before its dependencies. Signed-off-by: Kui-Feng Lee <kuifeng@fb.com>
Issue #7 mentioned that the BlazeSym doesn't resolve any address in the kernel space if a kernel image is not given or installed in the system. KernelResolver required both kallsyms and a kernel image to create itself successfully. However, the resolver should at least partially work even with only kallsyms. Signed-off-by: Kui-Feng Lee <kuifeng@fb.com>
hi, I am using version
885b4d5297c1633444317d439b312626920b5486
from libbpf-bootstrap with C API , when I set cfg like this:It shows like this:
The
/proc/kallsyms
exists, but/usr/lib/debug/boot/vmlinux-4.18.0-22-generic
don't. Also I know on some machine, there is no kernel_image, such as Xavier. When I try to not givesrc.params.kernel.kernel_image
and run, it crashed.Seems kernel sym trans failed and can it run with only provide kallsyms path?
The text was updated successfully, but these errors were encountered: