Hi,
I have a great piece of software, that apparently need HAVE_KPROBES_ON_FTRACE
To config the kernel option I’m using :
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- menuconfig
The Kernel is Linux/arm64 6.6.63
When I’m doing a search inside menuconfig
i get:
Symbol: HAVE_KPROBES_ON_FTRACE [=n]
Type : bool
Defined at arch/Kconfig:223
Symbol: KPROBES_ON_FTRACE [=n]
Type : bool
Defined at arch/Kconfig:117
Depends on: KPROBES [=y] && HAVE_KPROBES_ON_FTRACE [=n] && DYNAMIC_FTRACE_WITH_REGS [=n]
But I found it no where in the menu…
and if I add it mannuly in the .config
file, then make some more other adapations in menuconfig
my manual entry disappear…
Any ideas ?
Maybe HAVE_KPROBES_ON_FTRACE
is not supported in 6.6.63 ?
Thanks
It’s possible that it’s not supported on your arch.
Thanks, how can we verify this ?
Basically just start with what you’re aiming to enable and work backwards (as you’ve started to do). With judicious use of grep find out where that symbol is defined. If it’s in arch configs for other arches but not your own, it’s probably that.
There may be better tools out there to do this, but in my experience just sleuthing it out a bit will answer your question. The Kconfig system can be complex, but the files are pretty readable.