perf cs-etm: Allow no CoreSight sink to be specified on command line
authorMike Leach <mike.leach@linaro.org>
Tue, 16 Jun 2020 16:40:41 +0000 (17:40 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 22 Jun 2020 19:28:09 +0000 (16:28 -0300)
commit47446212832871e66f3b5fbf021c148eced2e24c
tree233b086fea5e0dc9a3ac958a9819694e2772d748
parentff1a12f962dff5b490c5ce1c2c4bcd0bf3bf517d
perf cs-etm: Allow no CoreSight sink to be specified on command line

Adjust the handling of the session sink selection to allow no sink to be
selected on the command line. This then forwards the sink selection to
the CoreSight infrastructure which will attempt to select a sink based
on the default sink select priorities.

Signed-off-by: Mike Leach <mike.leach@linaro.org>
Tested-by: Leo Yan <leo.yan@linaro.org>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Suzuki Poulouse <suzuki.poulose@arm.com>
Cc: coresight@lists.linaro.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/arm/util/cs-etm.c