xref: /openbmc/linux/tools/perf/util/map_symbol.h (revision 151f4e2b)
1 // SPDX-License-Identifier: GPL-2.0
2 #ifndef __PERF_MAP_SYMBOL
3 #define __PERF_MAP_SYMBOL 1
4 
5 #include <linux/types.h>
6 
7 struct map;
8 struct symbol;
9 
10 struct map_symbol {
11 	struct map    *map;
12 	struct symbol *sym;
13 };
14 
15 struct addr_map_symbol {
16 	struct map    *map;
17 	struct symbol *sym;
18 	u64	      addr;
19 	u64	      al_addr;
20 	u64	      phys_addr;
21 };
22 #endif // __PERF_MAP_SYMBOL
23