summaryrefslogtreecommitdiff
path: root/tools/perf/util/addr2line.h
blob: d35a47ba8dabf90a99ee6c0b094ccdbf79ba6e64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* 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;

extern int addr2line_timeout_ms;

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 */