summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2025-05-28 11:13:45 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-05-31 22:46:14 -0700
commit83da212b7fca407f6f30c7d6f02a8f910db8724d (patch)
tree1c3a978a5f129044cf530e535b7eb6bffef65a2a /tools/perf/scripts/python/parallel-perf.py
parent918850c13608c7b138512c2ecbfd3436b7a51797 (diff)
tools/testing: check correct variable in open_procmap()
Check if "procmap_out->fd" is negative instead of "procmap_out" (which is a pointer). Link: https://lkml.kernel.org/r/aDbFuUTlJTBqziVd@stanley.mountain Fixes: bd23f293a0d5 ("tools/testing: add PROCMAP_QUERY helper functions in mm self tests") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc: levi.yun <yeoreum.yun@arm.com> Cc: Shuah Khan <shuah@kernel.org> Cc: Wei Yang <richard.weiyang@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions