symbol.h (ccf59d8da119ab03dcbdf95fb5e5adcef6ba51f2) | symbol.h (c81251e808fe2386e71990ecd49c408bb7cb4666) |
---|---|
1#ifndef __PERF_SYMBOL 2#define __PERF_SYMBOL 1 3 4#include <linux/types.h> 5#include <stdbool.h> 6#include <stdint.h> 7#include "map.h" 8#include "../perf.h" --- 210 unchanged lines hidden (view full) --- 219void symbol__elf_init(void); 220struct symbol *symbol__new(u64 start, u64 len, u8 binding, const char *name); 221size_t symbol__fprintf_symname_offs(const struct symbol *sym, 222 const struct addr_location *al, FILE *fp); 223size_t symbol__fprintf_symname(const struct symbol *sym, FILE *fp); 224size_t symbol__fprintf(struct symbol *sym, FILE *fp); 225bool symbol_type__is_a(char symbol_type, enum map_type map_type); 226 | 1#ifndef __PERF_SYMBOL 2#define __PERF_SYMBOL 1 3 4#include <linux/types.h> 5#include <stdbool.h> 6#include <stdint.h> 7#include "map.h" 8#include "../perf.h" --- 210 unchanged lines hidden (view full) --- 219void symbol__elf_init(void); 220struct symbol *symbol__new(u64 start, u64 len, u8 binding, const char *name); 221size_t symbol__fprintf_symname_offs(const struct symbol *sym, 222 const struct addr_location *al, FILE *fp); 223size_t symbol__fprintf_symname(const struct symbol *sym, FILE *fp); 224size_t symbol__fprintf(struct symbol *sym, FILE *fp); 225bool symbol_type__is_a(char symbol_type, enum map_type map_type); 226 |
227int dso__test_data(void); | |
228int dso__load_sym(struct dso *dso, struct map *map, struct symsrc *syms_ss, 229 struct symsrc *runtime_ss, symbol_filter_t filter, 230 int kmodule); 231int dso__synthesize_plt_symbols(struct dso *dso, struct symsrc *ss, 232 struct map *map, symbol_filter_t filter); 233 234void symbols__insert(struct rb_root *symbols, struct symbol *sym); 235void symbols__fixup_duplicate(struct rb_root *symbols); 236void symbols__fixup_end(struct rb_root *symbols); 237void __map_groups__fixup_end(struct map_groups *mg, enum map_type type); 238 239#endif /* __PERF_SYMBOL */ | 227int dso__load_sym(struct dso *dso, struct map *map, struct symsrc *syms_ss, 228 struct symsrc *runtime_ss, symbol_filter_t filter, 229 int kmodule); 230int dso__synthesize_plt_symbols(struct dso *dso, struct symsrc *ss, 231 struct map *map, symbol_filter_t filter); 232 233void symbols__insert(struct rb_root *symbols, struct symbol *sym); 234void symbols__fixup_duplicate(struct rb_root *symbols); 235void symbols__fixup_end(struct rb_root *symbols); 236void __map_groups__fixup_end(struct map_groups *mg, enum map_type type); 237 238#endif /* __PERF_SYMBOL */ |