Ktap almost gets into 3.13
Ktap almost gets into 3.13
Posted Nov 12, 2013 3:58 UTC (Tue) by bgregg (guest, #46639)In reply to: Ktap almost gets into 3.13 by lambda
Parent article: Ktap almost gets into 3.13
pref can do a lot, but there are some things where the performance hit can make me hesitate. For example, timing a busy kernel function, where I'm interested in examining its distribution, to identify outliers or multiple modes. perf has an enable/trace/dump/post-process cycle to get to the answer I want. ktap (and DTrace and SystemTap) can execute arbitrary programs in kernel context, where it can filter and summarize using per-CPU buffers (eg, via kp_percpu_data()), and then emit an answer without making a trip to user-level to post-process data. It can also (more easily) let me build real time tools.
