aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/symbol.h')
-rw-r--r--tools/perf/util/symbol.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h
index 5538691494af..65846d0c5df7 100644
--- a/tools/perf/util/symbol.h
+++ b/tools/perf/util/symbol.h
@@ -65,8 +65,8 @@ static inline void *symbol__priv(struct symbol *self)
65 65
66struct dso { 66struct dso {
67 struct list_head node; 67 struct list_head node;
68 struct rb_root syms; 68 struct rb_root functions;
69 struct symbol *(*find_symbol)(struct dso *, u64 ip); 69 struct symbol *(*find_function)(struct dso *, u64 ip);
70 u8 adjust_symbols:1; 70 u8 adjust_symbols:1;
71 u8 slen_calculated:1; 71 u8 slen_calculated:1;
72 u8 loaded:1; 72 u8 loaded:1;
@@ -83,7 +83,7 @@ struct dso {
83struct dso *dso__new(const char *name); 83struct dso *dso__new(const char *name);
84void dso__delete(struct dso *self); 84void dso__delete(struct dso *self);
85 85
86struct symbol *dso__find_symbol(struct dso *self, u64 ip); 86struct symbol *dso__find_function(struct dso *self, u64 ip);
87 87
88struct dso *dsos__findnew(const char *name); 88struct dso *dsos__findnew(const char *name);
89int dso__load(struct dso *self, struct map *map, symbol_filter_t filter); 89int dso__load(struct dso *self, struct map *map, symbol_filter_t filter);