History

perf tools: Add support for PERF_RECORD_KSYMBOL_TYPE_OOL

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.

Adrian Hunter committed 6 years ago

Commit 789e2411 parent 246eba87 files · +23 −1Browse files

Showing the changes to tools/include/uapi/linux (1 of 7 files). Show all

Unified · Split

tools/include/uapi/linux/perf_event.h+5−0
@@ -1049,6 +1049,11 @@ enum perf_event_type { · 1048 unmodified lines
10491049 enum perf_record_ksymbol_type {
10501050 PERF_RECORD_KSYMBOL_TYPE_UNKNOWN = 0,
10511051 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,
10521057 PERF_RECORD_KSYMBOL_TYPE_MAX /* non-ABI */
10531058 };
10541059