aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorMathieu Poirier <[email protected]>2019-02-12 17:16:11 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-02-14 18:18:06 +0000
commit2507a3d982f2968168b53f4d1e67774d68f79b0c (patch)
tree63d3eb66ee94b99bf4895ec87c79a0ef724a9cd5 /tools/perf/scripts/python/sctop.py
parentperf cs-etm: Fix memory leak in error path (diff)
downloadkernel-2507a3d982f2968168b53f4d1e67774d68f79b0c.tar.gz
kernel-2507a3d982f2968168b53f4d1e67774d68f79b0c.zip
perf cs-etm: Introducing function cs_etm__init_trace_params()
The trace parameter initialisation code is repeated in two different places, something that bloats the file and can lead to errors. This is fixed by introducing a helper function and calling the right protocol initialisation code when required. Signed-off-by: Mathieu Poirier <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Leo Yan <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Suzuki K Poulouse <[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/sctop.py')
0 files changed, 0 insertions, 0 deletions