• James Clark's avatar
    perf cs-etm: Add warnings for missing DSOs · 9c38b671
    James Clark authored
    Currently decode will silently fail if no binary data is available for
    the decode. This is made worse if only partial data is available because
    the decode will appear to work, but any trace from that missing DSO will
    silently not be generated.
    
    Add a UI popup once if there is any data missing, and then warn in the
    bottom left for each individual DSO that's missing.
    Reviewed-by: default avatarLeo Yan <leo.yan@linaro.org>
    Signed-off-by: default avatarJames Clark <james.clark@arm.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: John Garry <john.garry@huawei.com>
    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: 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: http //lore.kernel.org/lkml/20210805130354.878120-2-james.clark@arm.com
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    9c38b671
cs-etm.c 85.1 KB