3 ms·
Tracing from user to kernel back to userspace in one single pane of glass. Have you never heard anyone hype about DTrace on Solaris? This allows building simila
by SEJeff 6y ago
Tracing from user to kernel back to userspace in one single pane of glass. Have you never heard anyone hype about DTrace on Solaris? This allows building similar things on production systems with little to no impact on running production applications.
- suthakamal 6y agohadn't thought of this like DTrace. Thx for that!
- SEJeff 6y agoAnytime! eBPF is Linux’s equivalent of DTrace
- cyphar 6y agoStrictly speaking, one of the uses of eBPF is a DTrace-like tracing tool but it's also used in quite a few other places (for instance it's also used for devices cgroup policy in cgroupv2).
- SEJeff 6y agoAnd filtering syscalls for seccomp or literally packet filtering. I believe Jens Axboe and team were looking at using eBPF for some of the low level IO subsystems. But I was explaining the most common and obvious (for a user) use of eBPF. They should just look at the io visor project to see some of the stuff that can be done with it (disclaimer, I work with one of the io visor maintainers)
- 0xEFF 6y agodtrace has also been on macOS since 10.5, with a pretty nice GUI app as well. I’ve used it to trace ruby and python code to isolate slow API requests from the end user’s perspective.
- colechristensen 6y agoThat sounds really interesting, do you have any references to share about macOS gui dtrace?
- SEJeff 6y agoThe app is called Instruments. Check it out at /Developer/Applications/Instruments https://developer.apple.com/library/archive/documentation/AnalysisTools/Conceptual/instruments_help-collection/Chapter/Chapter.html https://developer.apple.com/library/archive/documentation/An...