aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorGao Feng <[email protected]>2016-09-20 10:31:04 +0800
committerPablo Neira Ayuso <[email protected]>2016-09-23 09:30:43 +0200
commitb9d80f83bf8c3485ae53a4f3a715363d764bb0e4 (patch)
treef7c71f7232436811f9f051dfd606b5ff71ac374e /tools/perf/scripts/python/syscall-counts-by-pid.py
parent7bdc66242de7f9cbe8dbb01757042dd18744d800 (diff)
netfilter: xt_helper: Use sizeof(variable) instead of literal number
It's better to use sizeof(info->name)-1 as index to force set the string tail instead of literal number '29'. Signed-off-by: Gao Feng <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions