This can be used for architectures implementing dynamic ftrace via -fpatchable-function-entry.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -112,6 +112,8 @@ struct ftrace_likely_data { · 111 unmodified lines | ||
| 112 | 112 | |
| 113 | 113 | #if defined(CC_USING_HOTPATCH) |
| 114 | 114 | #define notrace __attribute__((hotpatch(0, 0))) |
| 115 | +#elif defined(CC_USING_PATCHABLE_FUNCTION_ENTRY) | |
| 116 | +#define notrace __attribute__((patchable_function_entry(0, 0))) | |
| 115 | 117 | #else |
| 116 | 118 | #define notrace __attribute__((__no_instrument_function__)) |
| 117 | 119 | #endif |