diff options
| author | Andreas Herrmann <[email protected]> | 2023-03-30 07:42:02 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-04-04 12:39:56 +0000 |
| commit | 337fa2db04785c60fc3aa736af98ce8358f87d34 (patch) | |
| tree | b7fe2a7d523a52f20e5ea900b7f4b5b9ae3325ef /tools/perf/scripts/python/task-analyzer.py | |
| parent | perf symbol: Remove unused branch_callstack (diff) | |
| download | kernel-337fa2db04785c60fc3aa736af98ce8358f87d34.tar.gz kernel-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 <[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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
