aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2015-10-06 16:23:29 +0200
committerMartin Schwidefsky <[email protected]>2015-10-14 14:32:14 +0200
commitac25e790d9c3c9b5d34609b7dc1d60c09494c668 (patch)
tree1ea07858e445c49e5529f2058977ed95b751c015 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentdb7e007fd61ca07e5f3b04cf2168531b074d318d (diff)
s390/flags: fix flag handling
The cpu flags and pt_regs flags fields are each 64 bits in size. A flag can be set with helper functions like set_cpu_flags(). These functions create a mask using "1U << flag". This doesn't work if flag is larger than 31, since 1U << 32 == 0. So fix this in case we ever will have such flag numbers. Signed-off-by: Heiko Carstens <[email protected]> Reviewed-by: Hendrik Brueckner <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions