File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2
2
#ifndef __LINUX_INSTRUMENTATION_H
3
3
#define __LINUX_INSTRUMENTATION_H
4
4
5
- #ifdef CONFIG_VMLINUX_VALIDATION
5
+ #ifdef CONFIG_NOINSTR_VALIDATION
6
6
7
7
#include <linux/stringify.h>
8
8
53
53
".popsection\n\t" : : "i" (c)); \
54
54
})
55
55
#define instrumentation_end () __instrumentation_end(__COUNTER__)
56
- #else /* !CONFIG_VMLINUX_VALIDATION */
56
+ #else /* !CONFIG_NOINSTR_VALIDATION */
57
57
# define instrumentation_begin () do { } while(0)
58
58
# define instrumentation_end () do { } while(0)
59
- #endif /* CONFIG_VMLINUX_VALIDATION */
59
+ #endif /* CONFIG_NOINSTR_VALIDATION */
60
60
61
61
#endif /* __LINUX_INSTRUMENTATION_H */
Original file line number Diff line number Diff line change @@ -500,7 +500,7 @@ config STACK_VALIDATION
500
500
For more information, see
501
501
tools/objtool/Documentation/stack-validation.txt.
502
502
503
- config VMLINUX_VALIDATION
503
+ config NOINSTR_VALIDATION
504
504
bool
505
505
depends on HAVE_OBJTOOL && DEBUG_ENTRY
506
506
select OBJTOOL
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ objtool_link()
160
160
objtoolopt=" ${objtoolopt} --lto"
161
161
fi
162
162
163
- if is_enabled CONFIG_VMLINUX_VALIDATION ; then
163
+ if is_enabled CONFIG_NOINSTR_VALIDATION ; then
164
164
objtoolopt=" ${objtoolopt} --noinstr"
165
165
fi
166
166
You can’t perform that action at this time.
0 commit comments