• James Clark's avatar
    perf cs-etm: Use existing decoder instead of resetting it · 04aaad26
    James Clark authored
    When dumping trace, the decoder is continually deleted and recreated to
    decode each buffer. To support both formatted and unformatted trace in
    a later commit, the decoder will be configured in advance.
    
    This commit removes the deletion of the decoder and allows the
    formatted/unformatted setting to persist.
    Reviewed-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
    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: Anshuman Khandual <anshuman.khandual@arm.com>
    Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: John Garry <john.garry@huawei.com>
    Cc: Leo Yan <leo.yan@linaro.org>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Mike Leach <mike.leach@linaro.org>
    Cc: Namhyung Kim <namhyung@kernel.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/20210721150202.32065-6-james.clark@arm.com
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    04aaad26
cs-etm.c 83.7 KB