]> Pileus Git - ~andy/linux/blobdiff - tools/perf/util/event.h
perf symbols: Allow lookups by symbol name too
[~andy/linux] / tools / perf / util / event.h
index 56640946b5a95fb84f8d2c7fbe551b87d342bd29..51a96c2effdea662c4a77e5b5a2ed3cde1e61b64 100644 (file)
@@ -151,6 +151,8 @@ int map__overlap(struct map *l, struct map *r);
 size_t map__fprintf(struct map *self, FILE *fp);
 struct symbol *map__find_symbol(struct map *self, u64 addr,
                                symbol_filter_t filter);
+struct symbol *map__find_symbol_by_name(struct map *self, const char *name,
+                                       symbol_filter_t filter);
 void map__fixup_start(struct map *self);
 void map__fixup_end(struct map *self);