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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h
index 4839d68f14f0..0d1292bd8270 100644
--- a/tools/perf/util/symbol.h
+++ b/tools/perf/util/symbol.h
@@ -19,7 +19,7 @@ struct dso {
19 struct list_head node; 19 struct list_head node;
20 struct rb_root syms; 20 struct rb_root syms;
21 unsigned int sym_priv_size; 21 unsigned int sym_priv_size;
22 struct symbol *(*find_symbol)(struct dso *, uint64_t ip); 22 struct symbol *(*find_symbol)(struct dso *, __u64 ip);
23 char name[0]; 23 char name[0];
24}; 24};
25 25
@@ -35,7 +35,7 @@ static inline void *dso__sym_priv(struct dso *self, struct symbol *sym)
35 return ((void *)sym) - self->sym_priv_size; 35 return ((void *)sym) - self->sym_priv_size;
36} 36}
37 37
38struct symbol *dso__find_symbol(struct dso *self, uint64_t ip); 38struct symbol *dso__find_symbol(struct dso *self, __u64 ip);
39 39
40int dso__load_kernel(struct dso *self, const char *vmlinux, 40int dso__load_kernel(struct dso *self, const char *vmlinux,
41 symbol_filter_t filter, int verbose); 41 symbol_filter_t filter, int verbose);