aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorJakub Jelen <[email protected]>2016-03-19 12:58:07 +0100
committerArnaldo Carvalho de Melo <[email protected]>2016-03-21 17:46:57 -0300
commit3c52b658b8e4fbbf7975932bbdc4798421dbcb15 (patch)
treec5b0cc391c16aa08836f6908b41f9e4500b4724f /tools/perf/scripts/python/syscall-counts-by-pid.py
parent73cdf0c6ea9c597894924f3b91ad636389555c1b (diff)
perf bench numa: Fix assertion for nodes bitfield
Comparing bits and bytes in numa benchmark assertion I hit the issue on two socket Power8 machine presenting its numa nodes as 0,1,16,17 (according to numactl). Therefore I got error (and hang of parent process): perf: bench/numa.c:296: bind_to_memnode: Assertion `!(g->p.nr_nodes > (int)sizeof(nodemask))' failed. This is obviously false positive. We can fit all the 18 nodes into bitfield of 8 bytes (long on 64b architecture). Signed-off-by: Jakub Jelen <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jakub Jelen <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions