[PATCH V4 13/18] coresight: tmc: make sysFS and Perf mode mutually exclusive

Suzuki K Poulose Suzuki.Poulose at arm.com
Wed Apr 27 02:10:15 PDT 2016


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.poirier at 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.poulose at arm.com>





More information about the linux-arm-kernel mailing list