UPSTREAM: coresight: perf: Clean up function etm_setup_aux()
There is no point in allocating sink memory for a trace session if there is not a way to free it once it is no longer needed. As such make sure the sink API function to allocate and free memory have been implemented before moving ahead with the establishment of a trace session. Signed-off-by:Mathieu Poirier <mathieu.poirier@linaro.org> Reviewed-by:
Suzuki K Poulose <suzuki.poulose@arm.com> Tested-by:
Leo Yan <leo.yan@linaro.org> Tested-by:
Robert Walker <robert.walker@arm.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> (Upstream commit 02d5c897a091f8e064f022a5383978182751d7fb). Bug: 140266694 Change-Id: I5d28ade5b9859beb10ddf4f61d1d4698dd960473 Signed-off-by:
Yabin Cui <yabinc@google.com>
Loading
Please register or sign in to comment