Arnaldo Carvalho de Melo | 9f4e8ff | 2019-01-27 12:02:41 +0100 | [diff] [blame] | 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 | |
Arnaldo Carvalho de Melo | 79b6bb7 | 2019-11-25 21:58:33 -0300 | [diff] [blame] | 7 | struct maps; |
Arnaldo Carvalho de Melo | 9f4e8ff | 2019-01-27 12:02:41 +0100 | [diff] [blame] | 8 | struct map; |
| 9 | struct symbol; |
| 10 | |
| 11 | struct map_symbol { |
Arnaldo Carvalho de Melo | f2eaea0 | 2019-11-25 22:15:35 -0300 | [diff] [blame] | 12 | struct maps *maps; |
Arnaldo Carvalho de Melo | 9f4e8ff | 2019-01-27 12:02:41 +0100 | [diff] [blame] | 13 | struct map *map; |
| 14 | struct symbol *sym; |
| 15 | }; |
| 16 | |
| 17 | struct addr_map_symbol { |
Arnaldo Carvalho de Melo | d46a4cd | 2019-11-04 15:57:38 -0300 | [diff] [blame] | 18 | struct map_symbol ms; |
Arnaldo Carvalho de Melo | 9f4e8ff | 2019-01-27 12:02:41 +0100 | [diff] [blame] | 19 | u64 addr; |
| 20 | u64 al_addr; |
| 21 | u64 phys_addr; |
Kan Liang | a50d03e | 2020-12-16 10:57:58 -0800 | [diff] [blame] | 22 | u64 data_page_size; |
Arnaldo Carvalho de Melo | 9f4e8ff | 2019-01-27 12:02:41 +0100 | [diff] [blame] | 23 | }; |
| 24 | #endif // __PERF_MAP_SYMBOL |