On 26/04/16 23:10, Mathieu Poirier wrote:
The sysFS and Perf access methods can't be allowed to interfere
with one another.  As such introducing guards to access
functions that prevents moving forward if a TMC is already
being used.

Signed-off-by: Mathieu Poirier <mathieu.poir...@linaro.org>
---
  drivers/hwtracing/coresight/coresight-tmc-etf.c | 60 +++++++++++++++++++++++-
  drivers/hwtracing/coresight/coresight-tmc-etr.c | 62 +++++++++++++++++++++++--
  2 files changed, 117 insertions(+), 5 deletions(-)

diff --git a/drivers/hwtracing/coresight/coresight-tmc-etf.c 
b/drivers/hwtracing/coresight/coresight-tmc-etf.c
index b5e5e6ac67eb..b11c52be54a9 100644
--- a/drivers/hwtracing/coresight/coresight-tmc-etf.c
+++ b/drivers/hwtracing/coresight/coresight-tmc-etf.c

Reviewed-by: Suzuki K Poulose <suzuki.poul...@arm.com>


Reply via email to