aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2024-11-22 00:11:18 +0100
committerChristian Brauner <[email protected]>2024-11-22 12:08:43 +0100
commit088f294609d8f8816dc316681aef2eb61982e0da (patch)
treeef22c416de36c56d5b96a78c419a73466083fe63 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent3e5360167ac3bccdc032cdafa68d4904a8fa0c75 (diff)
fs/proc/kcore.c: Clear ret value in read_kcore_iter after successful iov_iter_zero
If iov_iter_zero succeeds after failed copy_from_kernel_nofault, we need to reset the ret value to zero otherwise it will be returned as final return value of read_kcore_iter. This fixes objdump -d dump over /proc/kcore for me. Cc: [email protected] Cc: Alexander Gordeev <[email protected]> Fixes: 3d5854d75e31 ("fs/proc/kcore.c: allow translation of physical memory addresses") Signed-off-by: Jiri Olsa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Alexander Gordeev <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions