anakryiko / retsnoop

Investigate kernel error call stacks
BSD 2-Clause "Simplified" License
210 stars 34 forks source link

retsnoop: support spawning child process to trace #27

Open anakryiko opened 2 years ago

anakryiko commented 2 years ago

Something like:

$ sudo retsnoop -c bpf -- ./my_app arg1 arg2

to start my_app and immediately trace it until it exits. This as a more usable alternative to process name and PID filters.