diff options
author | Jordan Niethe <[email protected]> | 2020-05-06 13:40:32 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2020-05-19 00:10:37 +1000 |
commit | f8faaffaa7d99028e457ef2d1dcb43a98f736938 (patch) | |
tree | 0e987e7b6862e3412816dec98b222f036931cdc8 /tools/perf/scripts/python/stackcollapse.py | |
parent | 94afd069d937d84fb4f696eb9a78db4084e43d21 (diff) |
powerpc: Use a function for reading instructions
Prefixed instructions will mean there are instructions of different
length. As a result dereferencing a pointer to an instruction will not
necessarily give the desired result. Introduce a function for reading
instructions from memory into the instruction data type.
Signed-off-by: Jordan Niethe <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Reviewed-by: Alistair Popple <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions