aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2021-06-16 15:41:26 +0000
committerSteven Rostedt (VMware) <[email protected]>2021-06-18 13:09:17 +0000
commitfb780761e7bd9f2e94f5b9a296ead6b35b944206 (patch)
tree75d08ed9c036205c84c0e0275054a82b10d33963 /tools/perf/scripts/python/sched-migration.py
parenttracing: Correct the length check which causes memory corruption (diff)
downloadkernel-fb780761e7bd9f2e94f5b9a296ead6b35b944206.tar.gz
kernel-fb780761e7bd9f2e94f5b9a296ead6b35b944206.zip
recordmcount: Correct st_shndx handling
One should only use st_shndx when >SHN_UNDEF and <SHN_LORESERVE. When SHN_XINDEX, then use .symtab_shndx. Otherwise use 0. This handles the case: st_shndx >= SHN_LORESERVE && st_shndx != SHN_XINDEX. Link: https://lore.kernel.org/lkml/[email protected]/ Link: https://lkml.kernel.org/r/[email protected] Reported-by: Mark-PK Tsai <[email protected]> Tested-by: Mark-PK Tsai <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> [handle endianness of sym->st_shndx] Signed-off-by: Mark-PK Tsai <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions