linux/tools/perf/util/addr2line.h
Thomas Richter 83674a7829 perf addr2line: Remove global variable addr2line_timeout_ms
Remove global variable addr2line_timeout_ms and add it as a member
to symbol_conf structure.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Reviewed-by: Ian Rogers <irogers@google.com>
[namhyung: move the initialization to util/symbol.c]
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2026-04-08 10:28:49 -07:00

19 lines
398 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __PERF_ADDR2LINE_H
#define __PERF_ADDR2LINE_H
#include <linux/types.h>
struct dso;
struct inline_node;
struct symbol;
int cmd__addr2line(const char *dso_name, u64 addr,
char **file, unsigned int *line_nr,
struct dso *dso,
bool unwind_inlines,
struct inline_node *node,
struct symbol *sym);
#endif /* __PERF_ADDR2LINE_H */