[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5129dc7c-7d62-1d7e-9535-0fd5baa6bd48@arm.com>
Date: Tue, 18 Oct 2016 16:09:04 +0100
From: Suzuki K Poulose <Suzuki.Poulose@....com>
To: Mathieu Poirier <mathieu.poirier@...aro.org>,
linux-arm-kernel@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] coresight: reset "enable_sink" flag when need be
On 07/10/16 22:10, Mathieu Poirier wrote:
> When using coresight from the perf interface sinks are specified
> as part of the perf command line. As such the sink needs to be
> disabled once it has been acknowledged by the coresight framework.
> Otherwise the sink stays enabled, which may interfere with other
> sessions.
>
I personally think the descriptions needs to be a bit more clearer
from here on.
> This patch removes the sink selection check from the build path
> process and make it a function on it's own. The function is
> then used when operating from sysFS or perf to determine what
> sink has been selected.
I think you should mention that the helper function provides an
option to "de-activate" the enabled sink, once it has been "found"
by a lookup. Perf uses this option to de-activate the sink, while
sysfs leaves it to the user to do the same.
We don't have a mechanism to ensure that the "enabled" sink is
the one perf really enabled for us. But there is nothing much we
could do and should rely on the user to do it right for us.
So, with the changes to description :
Reviewed-by: Suzuki K Poulose <suzuki.poulose@....com>
Powered by blists - more mailing lists