summaryrefslogtreecommitdiff
path: root/tools/include
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2024-11-28 10:38:55 +0100
committerPeter Zijlstra <peterz@infradead.org>2024-12-02 12:01:41 +0100
commit317f2a64618c528539d17fe6957a64106087fbd2 (patch)
treecb53efb7a4d5ee1892a756fdd696053f0d083553 /tools/include
parentbf5febebd99fddfc6226a94e937d38a8d470b24e (diff)
objtool: Convert instrumentation_{begin,end}() to ANNOTATE
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Josh Poimboeuf <jpoimboe@kernel.org> Link: https://lore.kernel.org/r/20241128094311.245980207@infradead.org
Diffstat (limited to 'tools/include')
-rw-r--r--tools/include/linux/objtool_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/include/linux/objtool_types.h b/tools/include/linux/objtool_types.h
index 1b348361ad1d..d4d68dd36f7a 100644
--- a/tools/include/linux/objtool_types.h
+++ b/tools/include/linux/objtool_types.h
@@ -59,5 +59,7 @@ struct unwind_hint {
*/
#define ANNOTYPE_NOENDBR 1
#define ANNOTYPE_RETPOLINE_SAFE 2
+#define ANNOTYPE_INSTR_BEGIN 3
+#define ANNOTYPE_INSTR_END 4
#endif /* _LINUX_OBJTOOL_TYPES_H */