mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
![Arnaldo Carvalho de Melo](/assets/img/avatar_default.png)
To allow headers just wanting this definition to be able to get it without all the things in symbol.h, to reduce the include dep tree. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-l32z2qyhs6fe8unf4gk2ead2@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
22 lines
368 B
C
22 lines
368 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef __PERF_MAP_SYMBOL
|
|
#define __PERF_MAP_SYMBOL 1
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct map;
|
|
struct symbol;
|
|
|
|
struct map_symbol {
|
|
struct map *map;
|
|
struct symbol *sym;
|
|
};
|
|
|
|
struct addr_map_symbol {
|
|
struct map *map;
|
|
struct symbol *sym;
|
|
u64 addr;
|
|
u64 al_addr;
|
|
u64 phys_addr;
|
|
};
|
|
#endif // __PERF_MAP_SYMBOL
|