Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe967485 authored by Mathieu Poirier's avatar Mathieu Poirier Committed by Yabin Cui
Browse files

UPSTREAM: coresight: tmc-etr: Allocate and free ETR memory buffers for CPU-wide scenarios



(Upstream commit 3147da92a8a81fc304e6e9d7ac75b68d6a54d9f7).

This patch uses the PID of the process being traced to allocate and free
ETR memory buffers for CPU-wide scenarios.  The implementation is tailored
to handle both N:1 and 1:1 source/sink HW topologies.

Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Tested-by: default avatarLeo Yan <leo.yan@linaro.org>
Tested-by: default avatarRobert Walker <robert.walker@arm.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 140266694
Change-Id: Iae6466c210bf811cde152ce1c6a55b6f002d0463
Signed-off-by: default avatarYabin Cui <yabinc@google.com>
parent 39e1830c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment