diff options
author | Mathieu Poirier <[email protected]> | 2019-02-12 10:16:11 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-02-14 15:18:06 -0300 |
commit | 2507a3d982f2968168b53f4d1e67774d68f79b0c (patch) | |
tree | 63d3eb66ee94b99bf4895ec87c79a0ef724a9cd5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | ae4d9f5236439ef08f9963f39d5984959b1ae04d (diff) |
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/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions