• James Clark's avatar
    perf cs-etm: Print auxtrace info even if OpenCSD isn't linked · 55c1de99
    James Clark authored
    Printing the info doesn't have any dependency on OpenCSD, and neither
    does recording Coresight data. Because it's sometimes useful to look at
    the info for debugging, it makes sense to be able to see it on the same
    platform that the recording was made on.
    
    So pull the auxtrace info printing parts into a new file that is always
    compiled into Perf.
    Signed-off-by: default avatarJames Clark <james.clark@arm.com>
    Cc: Al Grant <Al.Grant@arm.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: John Garry <john.g.garry@oracle.com>
    Cc: Leo Yan <leo.yan@linaro.org>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
    Cc: Mike Leach <mike.leach@linaro.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Suzuki Poulouse <suzuki.poulose@arm.com>
    Cc: Will Deacon <will@kernel.org>
    Cc: coresight@lists.linaro.org
    Cc: linux-arm-kernel@lists.infradead.org
    Link: https://lore.kernel.org/r/20221212155513.2259623-6-james.clark@arm.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    55c1de99
cs-etm-base.c 5.42 KB