anakryiko / retsnoop

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

retsnoop: support capturing and pretty-printing function input arguments #26

Closed anakryiko closed 1 month ago

anakryiko commented 1 year ago

We can rely on BTF and libbpf APIs (e.g., btf_dump__dump_type_data()) to capture and emit input arguments.

Again, major considerations are usability: how to let user to specify when and what to capture and output, and how large structs should be formatted in the output.

anakryiko commented 1 month ago

Done in https://github.com/anakryiko/retsnoop/pull/63 and subsequent changes.