aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAndreas Herrmann <[email protected]>2023-03-30 09:42:02 +0200
committerArnaldo Carvalho de Melo <[email protected]>2023-04-04 09:39:56 -0300
commit337fa2db04785c60fc3aa736af98ce8358f87d34 (patch)
treeb7fe2a7d523a52f20e5ea900b7f4b5b9ae3325ef /tools/perf/scripts/python/bin
parent5a892c3da39fae73d008cc43706ff29456fa8cf1 (diff)
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 <[email protected]> Signed-off-by: Andreas Herrmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions