diff options
| author | James Clark <[email protected]> | 2021-07-29 15:58:01 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-08-03 20:04:04 +0000 |
| commit | 3d8b92472ae7ba91d759cadb4670bd492ef97d04 (patch) | |
| tree | 0e5ecf78ac33b5003cdef07306b3c2eca2bf2472 /tools/perf/util/annotate.c | |
| parent | perf tools: Add WARN_ONCE equivalent for UI warnings (diff) | |
| download | kernel-3d8b92472ae7ba91d759cadb4670bd492ef97d04.tar.gz kernel-3d8b92472ae7ba91d759cadb4670bd492ef97d04.zip | |
perf annotate: Re-add annotate_warned functionality
Setting annotate_warned to true on errors was removed in
commit ee51d851392e ("perf annotate: Introduce strerror for handling
symbol__disassemble() errors") which means when 'perf annotate
--skip-missing' is used warnings are shown multiple times for the same
DSO.
Setting this again restores the original behavior of only one warning
each.
Signed-off-by: James Clark <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: John Garry <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Poirier <[email protected]>
Cc: Mike Leach <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Suzuki Poulouse <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions
