brintos

brintos / linux-shallow public Read only

0
0
Text · 652 B · d8ac042 Raw
32 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2#ifndef __PERF_ADDR_LOCATION3#define __PERF_ADDR_LOCATION 14 5#include <linux/types.h>6 7struct thread;8struct maps;9struct map;10struct symbol;11 12struct 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;24};25 26void addr_location__init(struct addr_location *al);27void addr_location__exit(struct addr_location *al);28 29void addr_location__copy(struct addr_location *dst, struct addr_location *src);30 31#endif /* __PERF_ADDR_LOCATION */32