Viktor Malík

Results 349 comments of Viktor Malík

Ok, I'm slowly figuring it out. The binary is stripped which is why the output of `nm` is empty (no symbol table). bpftrace uses bcc to get the list of...

> I run arch linux as well - here's my libinput_drv.so if it helps. > > [libinput_drv.so.zip](https://github.com/iovisor/bpftrace/files/13562694/libinput_drv.so.zip) Thanks, that could be useful for debugging. At the moment, I think that...

I pretty much agree with @danobi here. One addition from my side - our plan is to slowly move away from the dependency on BCC. Currently, the main target is...

Summary: this is a bug in BCC which can be either fixed there or we'll have to implement our own ELF parsing infrastructure (which we'll have to do anyways if...

I think that this should be resolved by #2370

Can you elaborate a bit more? Maybe add some motivation example?

> FWIW, when libbpf-rs generates type definitions from BTF (similar to DWARF, but simpler), anon unions/structs get a generic anon name: https://github.com/libbpf/libbpf-rs/blob/4ef150551dbb25b18db7368cec79ca7ef9adfe0e/libbpf-cargo/src/gen/btf.rs#L72-L82 > > That seems like it should work?...

> Thanks for pointing out that this should be fixed by a constant folding pass! Yes, but using LLVM's constant folding is not going to work. The enum types are...

The error is caused by #2902. There's a race condition in that test - if `@n` is not deleted before bpftrace finishes, it is printed and we get a JSON...