^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) // SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef __PERF_MAP_SYMBOL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define __PERF_MAP_SYMBOL 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #include <linux/types.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) struct maps;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) struct map;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) struct symbol;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) struct map_symbol {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) struct maps *maps;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) struct map *map;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) struct symbol *sym;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) struct addr_map_symbol {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) struct map_symbol ms;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) u64 addr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) u64 al_addr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) u64 phys_addr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #endif // __PERF_MAP_SYMBOL