diff options
author | Mathieu Poirier <mathieu.poirier@linaro.org> | 2019-02-12 10:16:11 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-02-14 15:18:06 -0300 |
commit | 2507a3d982f2968168b53f4d1e67774d68f79b0c (patch) | |
tree | 63d3eb66ee94b99bf4895ec87c79a0ef724a9cd5 /drivers/media/platform/vimc/vimc-scaler.c | |
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 <mathieu.poirier@linaro.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Suzuki K Poulouse <suzuki.poulose@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/20190212171618.25355-7-mathieu.poirier@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-scaler.c')
0 files changed, 0 insertions, 0 deletions