]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
objtool: Add Function to get the name of a CPU feature
authorAlexandre Chartre <alexandre.chartre@oracle.com>
Fri, 21 Nov 2025 09:53:36 +0000 (10:53 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 24 Nov 2025 19:39:47 +0000 (20:39 +0100)
commit8308fd001927f5bdc37a9c9f9c413baec3fb7bbe
tree39c7a737cddf33e13bd02f61258088e9d3238722
parentbe5ee60ac554c6189cda963e886c4b97d2cb978c
objtool: Add Function to get the name of a CPU feature

Add a function to get the name of a CPU feature. The function is
architecture dependent and currently only implemented for x86. The
feature names are automatically generated from the cpufeatures.h
include file.

Signed-off-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Link: https://patch.msgid.link/20251121095340.464045-27-alexandre.chartre@oracle.com
tools/arch/x86/tools/gen-cpu-feature-names-x86.awk [new file with mode: 0644]
tools/objtool/.gitignore
tools/objtool/Makefile
tools/objtool/arch/loongarch/special.c
tools/objtool/arch/powerpc/special.c
tools/objtool/arch/x86/Build
tools/objtool/arch/x86/special.c
tools/objtool/include/objtool/special.h