The options that start with HAVE_
usually depend on the arch or compiler. I don't believe it's possible to enable manually without modifying the source itself.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Thanks @SteveTech@programming.dev
I suppose the file linux/arch/Kconfig
is the base the menuconfig to know which option is available ? right ?
Thanks.
Yes, but it doesn't look like KPROBES_ON_FTRACE
is supported on arm64. I did find this patch though which implements it: https://patchwork.kernel.org/project/linux-arm-kernel/patch/20191218140622.57bbaca5@xhacker.debian/
If you don't know how to apply a patch, you can either paste the link into b4
, or download the mbox and apply it with git am
.
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.