@d-e-s-o @ work
@d-e-s-o @ work
In general `blaze_err_str(blaze_err_last())` may help for understanding symbolization failures or you may want to look at the [reason](https://docs.rs/blazesym-c/0.1.0-rc.0/blazesym_c/struct.blaze_sym.html#structfield.reason) if individual addresses failed to symbolize. In this case, I am having...
You can take the PID and addresses and feed them to [`blazecli`](https://github.com/libbpf/blazesym/tree/main/cli). It should be able to tell you more where the error originates and you can enable traces via...
Binaries are available [here](https://github.com/libbpf/blazesym/actions/runs/9452880335) for example.
You will have to use process symbolization: ```sh $ ./target/debug/blazecli symbolize process --pid 4139 00005555555551b4 -vvv ``` (or something like that) Can you please attach the `hello_world` binary?
> 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 INFO symbolize:...
> By any chance, bpf_get_current_pid_tgid can give wrong process id? I doubt it will be wrong. It's just returning some [kernel task struct member](https://github.com/torvalds/linux/blob/34afb82a3c67f869267a26f593b6f8fc6bf35905/kernel/bpf/helpers.c#L228). > I'm using the profile.bpf.c from...
> I am running profile ebpf process from docker. Are you saying, ebpf is reporting process id from macos(host os) Point of view? Yep. > In place of perf_on_event, if...
Thanks for the report. > However, it seems more convenient to me to add support for empty unions to libbpf-cargo. Is that reasonable? Yes, that seems reasonable to me. Will...
As per my understanding, uapi headers are shipped with `libbpf-sys`: https://docs.rs/libbpf-sys/1.4.5+v1.4.5/src/libbpf_sys/lib.rs.html#23-34 `vmlinux.h` isn't, as it's exposing kernel internals which are a moving target.
I tried rebasing the Qemu patches, but put it on hold for now, as it's a major effort. Haven't decided if I will spent the time on them, given that...