deepakpjose
deepakpjose
I've modified it. It's there, but somehow missed out.
Hi Daniel, I've added blaze_err_str(blaze_err_last()) and the error was 'entity not found'. Looks like userspace address passed is not correct. I've to add any other settings to get proper address?...
Daniel, Thanks for the input in debugging this. I felt blazecli is unable to resolve symbols for addresses properly. ebpf is generating addressses properly because when I look the detailed...
Here is my binary file for hello_world. https://github.com/deepakpjose/linux_commands/blob/main/hello_world.bin process symbolization didn't work for me. ``` root@90a68567a85f:/src/libbpf-bootstrap/blazesym# ./target/debug/blazecli symbolize process --pid 51 00005555555551b4 -vvv 2024-07-08T17:11:00.881622Z INFO symbolize: new src=Process(51) addrs=AbsAddr([0x5555555551b4]) 2024-07-08T17:11:00.881669Z...
Using the cli you have shared, it's working for me. Thanks for that. By any chance, bpf_get_current_pid_tgid can give wrong process id? I'm using the profile.bpf.c from libpf-bootstrap in my...
I am running profile ebpf process from docker. Are you saying, ebpf is reporting process id from macos(host os) Point of view? In place of perf_on_event, if trace some other...
Thanks a lot for support. It was a wonderful learning. I'll close this request.
With installing rustc and cargo in my ubuntu docker, I'm able to build and run profile program now. Followint are the steps. curl https://sh.rustup.rs -sSf | sh -s -- -y...
Sure. I'll close it. Do you see value in adding a Docker file to run bpf into this repository so that, it's easy for users to do tinkering in libbpf...