Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / tools / perf / util / addr_location.h
blobd8ac0428dff232ec9ac4a7e5bbb3cec6fdf7e989
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __PERF_ADDR_LOCATION
3 #define __PERF_ADDR_LOCATION 1
5 #include <linux/types.h>
7 struct thread;
8 struct maps;
9 struct map;
10 struct symbol;
12 struct addr_location {
13 struct thread *thread;
14 struct maps *maps;
15 struct map *map;
16 struct symbol *sym;
17 const char *srcline;
18 u64 addr;
19 char level;
20 u8 filtered;
21 u8 cpumode;
22 s32 cpu;
23 s32 socket;
26 void addr_location__init(struct addr_location *al);
27 void addr_location__exit(struct addr_location *al);
29 void addr_location__copy(struct addr_location *dst, struct addr_location *src);
31 #endif /* __PERF_ADDR_LOCATION */