aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTobin C. Harding <[email protected]>2018-04-10 16:33:27 -0700
committerLinus Torvalds <[email protected]>2018-04-11 10:28:36 -0700
commite3d95a2a05afd6b51ade4686291b0ed8581dd5e5 (patch)
tree5a0cb3cc7c0de0c2ab569482f0924420532d28ad /tools/perf/scripts/python/stackcollapse.py
parentc2066ca350b32f1d3d69743c59099c6f91f7a559 (diff)
checkpatch: add sub routine get_stat_here()
checkpatch currently contains duplicate code. We can define a sub routine and call that instead. This reduces code duplication and line count. Add subroutine get_stat_here(). Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Tobin C. Harding <[email protected]> Cc: Joe Perches <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions