"gee it would be nice if i could see every time a given kernel function gets called... too bad i'd have to recompile the kernel and reboot to insert a print"

well guess what. you don't need to, because ftrace exists, and it can do that and also a bunch of other stuff.

it apparently existed since 2008

i just watched a 15 minute demo of what it can do and... wait, why didn't i know about this sooner? https://www.brendangregg.com/blog/2016-12-27/linux-tracing-in-15-minutes.html
0

If you have a fediverse account, you can quote this note from your own instance. Search https://donotsta.re/objects/1418456a-7dca-4550-8642-7a0f30fb99bd on your instance and quote it. (Note that quoting is not supported in Mastodon.)