summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2013-09-02 13:29:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-05 07:17:55 -0700
commitddb51b8d96ede434782d1b7fab0bab32bd4d7eb5 (patch)
tree756f0e73b81484f204203d07d87e050c72020f63 /tools/perf/scripts/python/syscall-counts.py
parent60e49ee0131a5e94249301d4c21f833b65f46813 (diff)
mei: make me client counters less error prone
commit 1aee351a739153529fbb98ee461777b2abd5e1c9 upstream. 1. u8 counters are prone to hard to detect overflow: make them unsigned long to match bit_ functions argument type 2. don't check me_clients_num for negativity, it is unsigned. 3. init all the me client counters from one place Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions