summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-04-27 13:34:24 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2025-04-30 20:04:59 +0200
commitc44572e0cc13c9afff83fd333135a0aa9b27ba26 (patch)
tree01b0cd68b843a4214fb385fc157fa2a9b20929bb /tools/perf/util/scripting-engines/trace-event-python.c
parent7f74c066e5d920b3a2f0f936060984e3b3709250 (diff)
downloadlinux-stable-c44572e0cc13c9afff83fd333135a0aa9b27ba26.tar.gz
linux-stable-c44572e0cc13c9afff83fd333135a0aa9b27ba26.tar.bz2
linux-stable-c44572e0cc13c9afff83fd333135a0aa9b27ba26.zip
MIPS: Fix MAX_REG_OFFSET
Fix MAX_REG_OFFSET to point to the last register in 'pt_regs' and not to the marker itself, which could allow regs_get_register() to return an invalid offset. Fixes: 40e084a506eb ("MIPS: Add uprobes support.") Suggested-by: Maciej W. Rozycki <macro@orcam.me.uk> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions