diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2020-02-24 21:02:10 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-06-02 13:59:08 +0300 |
commit | 9ed5df69b79a22b40b20bc2132ba2495708b19c4 (patch) | |
tree | 57dfdc64d9726b44f06780fd8db35d07763cfa4c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 08b1add150a8863665676d0ac9c3ad2d34b2540c (diff) | |
download | linux-9ed5df69b79a22b40b20bc2132ba2495708b19c4.tar.xz |
powerpc/kprobes: Use probe_address() to read instructions
In order to avoid Oopses, use probe_address() to read the
instruction at the address where the trap happened.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/7f24b5961a6839ff01df792816807f74ff236bf6.1582567319.git.christophe.leroy@c-s.fr
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions