Skip to contentSkip to conversation

kprobes functionality with kernel-hacking disabled

RFC He Kuang 1 participant 1 message Dec 18, 2014

lore
Share & tools
lore

He Kuang

author
#0 lore raw

kprobes is so excellent in performance analysis. But in many practical performance analysis scenarios, performance & debuging related configs maybe disabled. So, we should recompile the kernel for further analysis, this is not so convinient.

I've read this thread asked a question to use kprobes as a module
(https://lkml.org/lkml/2012/5/15/46), and know the ftrace dependence
issue. But when we meet a kernel compiled without CONFIG_KPROBES*,
the only thing we need is the basic kprobes funtionality, have ftrace or not is not the major problem, in fact, most cases ftrace is disabled too.

Do you have any advices on the conflicts between kernel hacking tools and practical kernel which compiled without it? If there is no kprobes module, what should we use?

Signature · 1 line
1.7.9.5