janestreet/magic-trace

Allow tracing kernel threads

Xyene opened this issue · 4 comments

Xyene commented

Currently, tracing them fails because we can't open /proc/$pid/exe, but we can figure out if we're looking at a kernel thread (its parent's PID should be 2), and use vmlinux instead.

hlian commented

@Lilydemi is going to take this issue!

@Xyene is this open to take up? Would love to give it a go.

It's open.

Thanks!