perf tools: Add flag for tracking warnings of missing DSOs
authorJames Clark <james.clark@arm.com>
Thu, 29 Jul 2021 15:58:03 +0000 (16:58 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 3 Aug 2021 20:04:08 +0000 (17:04 -0300)
commit115520495015591d6a98a5965644cfffd218e399
tree7814309896738e954ee63b7bdee0a757e6bea867
parent243c3a3eb4e03201dec36f2edfc4fe604d8b9078
perf tools: Add flag for tracking warnings of missing DSOs

Auxtrace support may need DSOs for decoding (for example Arm Coresight).
If one of these is missing it would make sense to warn once for each one
that's missing, but not flood the output with every address as there
could be thousands of lookups.

This flag will allow tracking whether a warning was shown for each DSO.

Signed-off-by: James Clark <james.clark@arm.com>
Reviewed-by: Leo Yan <leo.yan@linaro.org>
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/20210729155805.2830-5-james.clark@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/dso.h