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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h
index a94997aeb334..124302778c09 100644
--- a/tools/perf/util/symbol.h
+++ b/tools/perf/util/symbol.h
@@ -109,6 +109,7 @@ struct dso {
109}; 109};
110 110
111struct dso *dso__new(const char *name); 111struct dso *dso__new(const char *name);
112struct dso *dso__new_kernel(const char *name);
112void dso__delete(struct dso *self); 113void dso__delete(struct dso *self);
113 114
114bool dso__loaded(const struct dso *self, enum map_type type); 115bool dso__loaded(const struct dso *self, enum map_type type);
@@ -139,6 +140,7 @@ size_t dso__fprintf(struct dso *self, enum map_type type, FILE *fp);
139char dso__symtab_origin(const struct dso *self); 140char dso__symtab_origin(const struct dso *self);
140void dso__set_long_name(struct dso *self, char *name); 141void dso__set_long_name(struct dso *self, char *name);
141void dso__set_build_id(struct dso *self, void *build_id); 142void dso__set_build_id(struct dso *self, void *build_id);
143void dso__read_running_kernel_build_id(struct dso *self);
142struct symbol *dso__find_symbol(struct dso *self, enum map_type type, u64 addr); 144struct symbol *dso__find_symbol(struct dso *self, enum map_type type, u64 addr);
143struct symbol *dso__find_symbol_by_name(struct dso *self, enum map_type type, 145struct symbol *dso__find_symbol_by_name(struct dso *self, enum map_type type,
144 const char *name); 146 const char *name);