anakryiko / retsnoop

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

retsnoop: make func call trace and call stack modes independent #69

Closed anakryiko closed 2 months ago

anakryiko commented 2 months ago

Make it possible to have only function trace mode without emitting call stack traces, and vice versa. For function trace-only mode switch the default to allow capturing success stacks, as that's the most typical assumption. For call stack mode still default to emitting erroring stacks only, by default. Allow to force it one way or the other with -Sn or -Sy/-S arguments.