Merge tag 'vfio-v6.9-rc1' of https://github.com/awilliam/linux-vfio
[linux-2.6-block.git] / tools / perf / util / map_symbol.h
CommitLineData
9f4e8ff2
ACM
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
79b6bb73 7struct maps;
9f4e8ff2
ACM
8struct map;
9struct symbol;
10
11struct map_symbol {
f2eaea09 12 struct maps *maps;
9f4e8ff2
ACM
13 struct map *map;
14 struct symbol *sym;
15};
16
17struct addr_map_symbol {
d46a4cdf 18 struct map_symbol ms;
9f4e8ff2
ACM
19 u64 addr;
20 u64 al_addr;
05b5a9d6 21 char al_level;
9f4e8ff2 22 u64 phys_addr;
a50d03e3 23 u64 data_page_size;
9f4e8ff2 24};
56e144fe
IR
25
26void map_symbol__exit(struct map_symbol *ms);
27void addr_map_symbol__exit(struct addr_map_symbol *ams);
28
9f4e8ff2 29#endif // __PERF_MAP_SYMBOL