Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / tools / perf / util / map_symbol.h
blobe370bb32ed471a77a3f13fb4a8bff88520179f6d
1 // SPDX-License-Identifier: GPL-2.0
2 #ifndef __PERF_MAP_SYMBOL
3 #define __PERF_MAP_SYMBOL 1
5 #include <linux/types.h>
7 struct maps;
8 struct map;
9 struct symbol;
11 struct map_symbol {
12 struct maps *maps;
13 struct map *map;
14 struct symbol *sym;
17 struct addr_map_symbol {
18 struct map_symbol ms;
19 u64 addr;
20 u64 al_addr;
21 char al_level;
22 u64 phys_addr;
23 u64 data_page_size;
26 void map_symbol__exit(struct map_symbol *ms);
27 void addr_map_symbol__exit(struct addr_map_symbol *ams);
29 void map_symbol__copy(struct map_symbol *dst, struct map_symbol *src);
30 void addr_map_symbol__copy(struct addr_map_symbol *dst, struct addr_map_symbol *src);
32 #endif // __PERF_MAP_SYMBOL