aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAndreas Herrmann <aherrmann@suse.de>2023-03-30 09:42:02 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2023-04-04 09:39:56 -0300
commit337fa2db04785c60fc3aa736af98ce8358f87d34 (patch)
treeb7fe2a7d523a52f20e5ea900b7f4b5b9ae3325ef /tools/perf/scripts/python/exported-sql-viewer.py
parent5a892c3da39fae73d008cc43706ff29456fa8cf1 (diff)
downloadlinux-337fa2db04785c60fc3aa736af98ce8358f87d34.tar.gz
linux-337fa2db04785c60fc3aa736af98ce8358f87d34.tar.bz2
linux-337fa2db04785c60fc3aa736af98ce8358f87d34.zip
perf bench numa: Fix type of loop iterator in do_work, it should be 'long'
'j' is of type int and start/end are of type 'long'. Thus 'j' might become negative and cause segfault in access_data(). Fix it by using 'long' for 'j' as well. Reviewed-by: James Clark <james.clark@arm.com> Signed-off-by: Andreas Herrmann <aherrmann@suse.de> Link: https://lore.kernel.org/r/20230330074202.14052-1-aherrmann@suse.de Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions