[PATCH v2 0/3] perf addr2line: Rework disable_add2line_warn

Thomas Richter
2026-04-02T08:02:14Z

Introduce configurable addr2line_disable_warn entry in the .perfconfig
file. Clean up addr2line configuration.

V1 --> V2: Update perf-config documentation.

Patch 1:
Rename disable_add2line_warn to addr2line_disable_warn (with 'r')
and start name with prefix addr2line_ to make it consistent with
other addr2line_xxx configuration parameters.
Patch 2:
Enable symbol_conf::addr2line_disable_warn set via config file.
Patch 3:
Remove global variable addr2line_timeout_ms and make it a member
of struct::symbol_conf. Update perf-config documentation.

Thomas Richter (3):
perf config: Rename symbol_conf::disable_add2line_warn
perf config: Make symbol_conf::addr2line_disable_warn configurable
perf addr2line: Remove global variable addr2line_timeout_ms

tools/perf/Documentation/perf-config.txt | 6 ++++++
tools/perf/builtin-diff.c | 4 ++--
tools/perf/util/addr2line.c | 20 ++++++++++----------
tools/perf/util/addr2line.h | 2 --
tools/perf/util/block-info.c | 2 +-
tools/perf/util/config.c | 6 ++++--
tools/perf/util/libbfd.c | 2 +-
tools/perf/util/symbol_conf.h | 3 ++-
8 files changed, 26 insertions(+), 19 deletions(-)

--
2.53.0