diff options
| author | Christophe Leroy <[email protected]> | 2021-05-13 09:07:51 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-05-23 20:51:35 +1000 |
| commit | 7ee3e97e00a3893e354c3993c3f7d9dc127e9c5e (patch) | |
| tree | 9cd913eb3e356b43d2a0839837b4fd0a6472917b /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 6fcb574125e673f33ff058caa54b4e65629f3a08 (diff) | |
kprobes: Allow architectures to override optinsn page allocation
Some architectures like powerpc require a non standard
allocation of optinsn page, because module pages are
too far from the kernel for direct branches.
Define weak alloc_optinsn_page() and free_optinsn_page(), that
fall back on alloc_insn_page() and free_insn_page() when not
overridden by the architecture.
Suggested-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Christophe Leroy <[email protected]>
Reviewed-by: Naveen N. Rao <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/40a43d6df1fdf41ade36e9a46e60a4df774ca9f6.1620896780.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions