PERF_RECORD_KSYMBOL_TYPE_OOL marks an executable page. Create a map backed only by memory, which will be populated as necessary by text poke events. Committer notes: From the patch: OOL stands for "Out of line" code such as kprobe-replaced instructions or optimized kprobes or ftrace trampolines.
Showing the changes to tools/include/uapi (1 of 7 files). Show all
Unified · Split
| @@ -1049,6 +1049,11 @@ enum perf_event_type { · 1048 unmodified lines | ||
| 1049 | 1049 | enum perf_record_ksymbol_type { |
| 1050 | 1050 | PERF_RECORD_KSYMBOL_TYPE_UNKNOWN = 0, |
| 1051 | 1051 | PERF_RECORD_KSYMBOL_TYPE_BPF = 1, |
| 1052 | + /* | |
| 1053 | + * Out of line code such as kprobe-replaced instructions or optimized | |
| 1054 | + * kprobes or ftrace trampolines. | |
| 1055 | + */ | |
| 1056 | + PERF_RECORD_KSYMBOL_TYPE_OOL = 2, | |
| 1052 | 1057 | PERF_RECORD_KSYMBOL_TYPE_MAX /* non-ABI */ |
| 1053 | 1058 | }; |
| 1054 | 1059 | |