blob: 7d22ade082c8f891c5a718d1b549655621c841bb [file] [log] [blame]
Arnaldo Carvalho de Melo9f4e8ff2019-01-27 12:02:41 +01001// 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 Melo79b6bb72019-11-25 21:58:33 -03007struct maps;
Arnaldo Carvalho de Melo9f4e8ff2019-01-27 12:02:41 +01008struct map;
9struct symbol;
10
11struct map_symbol {
Arnaldo Carvalho de Melof2eaea02019-11-25 22:15:35 -030012 struct maps *maps;
Arnaldo Carvalho de Melo9f4e8ff2019-01-27 12:02:41 +010013 struct map *map;
14 struct symbol *sym;
15};
16
17struct addr_map_symbol {
Arnaldo Carvalho de Melod46a4cd2019-11-04 15:57:38 -030018 struct map_symbol ms;
Arnaldo Carvalho de Melo9f4e8ff2019-01-27 12:02:41 +010019 u64 addr;
20 u64 al_addr;
21 u64 phys_addr;
Kan Lianga50d03e2020-12-16 10:57:58 -080022 u64 data_page_size;
Arnaldo Carvalho de Melo9f4e8ff2019-01-27 12:02:41 +010023};
24#endif // __PERF_MAP_SYMBOL