Hacker Newsnew | past | comments | ask | show | jobs | submit | danobi's commentslogin


bpftrace has support for outputting pcap files now.


SEEKING VOLUNTEERS: bpftrace

As non-profit as it get! Intersection of operating systems, compilers, and observability. C/C++/LLVM.

https://github.com/bpftrace/bpftrace

"good first issue" or "easy" tag in issues is a good place to start looking for something to do. Or DM me and we can find something interesting.


What kind of events were being lost, and under what conditions? I'd like to see if it can be fixed.


Above two comments are very helpful, thanks. I've corrected the -m32 issue.

And thanks for pointing out the x86/ABI assumptions. Had not considered that. It's certainly interesting to think about.


I think it has to keep it for externally visible functions, right?


Yes, you are right. If you have to put a bool on the stack, it will have to keep the instructions.


BPF_PROG_RUN is great but unfortunately depends on the running kernel version. To that end, I wrote `vmtest` (https://dxuuu.xyz/vmtest.html) which is designed for the BPF_PROG_RUN use case.


Thank you for bpftrace! It was a vital aid for kernel spelunking. Very excited to see vmtest. I did a similar tool in the past [1] but never achieved this level of polish.

[1] https://github.com/mejedi/vmwrap


I use stock ios and mobius sync works pretty well. No issues so far over 1y+ of use.


Thanks - I'll check it out.


Was threading support ever added? I recall there being a few attempts. I tried aerc out for quite a bit but ultimately had to give it up for neomutt b/c mailing list discussions were impossible to follow without threading support.



Are there any docs for how it's implemented?


A brief introduction to the design is here: https://interact-rs.github.io/interact/book/index.html#desig...:

> Using two traits, Access and Deser, Interact exposes types as trait objects, similarly to the Any trait, but with a functionality of reflection. The Access trait allows to probe the fields of structs and enums and modify them. It also allows to iterate arrays, vectors, and maps. It also allows to safely punch through Rc, Arc, and Mutex. The traits can be derived using #[derive(Interact)].

> At the prompt side, predictive parsing is used for providing full auto-complete and hinting, while constructing access paths, and while constructing values used in field assignments and function calls.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: