Hacker News new | ask | show | jobs
by choudanu4 1549 days ago
Can Wachy be used to trace kernel code as well? And would you need to do anything specific to get that to work? (How would Wachy find the kernel sources?)

I was thinking this would be pretty cool to use for debugging device drivers on embedded devices especially w.r.t latency.

1 comments

I'm afraid that's not supported today. But it looks like kprobes do support offsets within a function, so it should be possible to get it to work. That does sound pretty cool, please open an issue for this if you're interested! It might be as simple as (effectively) s/uprobe/kprobe/g, in which case I can try to get that working.