perf tools: Update copy of libbpf's hashmap.c
[linux-2.6-microblaze.git] / tools / perf / util / map_symbol.h
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 maps;
8 struct map;
9 struct symbol;
10
11 struct map_symbol {
12         struct maps   *maps;
13         struct map    *map;
14         struct symbol *sym;
15 };
16
17 struct addr_map_symbol {
18         struct map_symbol ms;
19         u64           addr;
20         u64           al_addr;
21         u64           phys_addr;
22 };
23 #endif // __PERF_MAP_SYMBOL