aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2021-05-20 13:50:44 +0000
committerMichael Ellerman <[email protected]>2021-06-17 00:07:51 +1000
commite90a21ea801d1776d9a786ad02354fd3fe23ce09 (patch)
treef3f4a7d9ef97e6af31911508e818859321fc3153 /tools/perf/scripts/python
parent6c0d181daabcba286db9711eef8800b566fb1cce (diff)
powerpc/lib/code-patching: Don't use struct 'ppc_inst' for runnable code in tests.
'struct ppc_inst' is meant to represent an instruction internally, it is not meant to dereference code in memory. For testing code patching, use patch_instruction() to properly write into memory the code to be tested. Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/d8425fb42a4adebc35b7509f121817eeb02fac31.1621516826.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions