Symbols are needed for tools to describe instruction addresses. Pages allocated for ftrace's purposes need symbols to be created for them. Add such symbols to be visible via perf ksymbol events.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -1051,7 +1051,7 @@ enum perf_record_ksymbol_type { · 1050 unmodified lines | |||
| 1051 | PERF_RECORD_KSYMBOL_TYPE_BPF = 1, | 1051 | PERF_RECORD_KSYMBOL_TYPE_BPF = 1, |
| 1052 | /* | 1052 | /* |
| 1053 | * Out of line code such as kprobe-replaced instructions or optimized | 1053 | * Out of line code such as kprobe-replaced instructions or optimized |
| 1054 | * kprobes. | 1054 | * kprobes or ftrace trampolines. |
| 1055 | */ | 1055 | */ |
| 1056 | PERF_RECORD_KSYMBOL_TYPE_OOL = 2, | 1056 | PERF_RECORD_KSYMBOL_TYPE_OOL = 2, |
| 1057 | PERF_RECORD_KSYMBOL_TYPE_MAX /* non-ABI */ | 1057 | PERF_RECORD_KSYMBOL_TYPE_MAX /* non-ABI */ |