mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
08f6680e62
And fill it whenever we setup a a 'struct map_symbol', now we need to use it, next cset. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-fzwfcnddenz1o7uj1fzw3g46@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
24 lines
392 B
C
24 lines
392 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef __PERF_MAP_SYMBOL
|
|
#define __PERF_MAP_SYMBOL 1
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct map_groups;
|
|
struct map;
|
|
struct symbol;
|
|
|
|
struct map_symbol {
|
|
struct map_groups *mg;
|
|
struct map *map;
|
|
struct symbol *sym;
|
|
};
|
|
|
|
struct addr_map_symbol {
|
|
struct map_symbol ms;
|
|
u64 addr;
|
|
u64 al_addr;
|
|
u64 phys_addr;
|
|
};
|
|
#endif // __PERF_MAP_SYMBOL
|