mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
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>
19 lines
398 B
C
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 */
|