Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf symbols: Make dsos__find function globally available

Changing dsos__find function from static to be globally available.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1347295819-23177-4-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Jiri Olsa and committed by
Arnaldo Carvalho de Melo
1c4be9ff b232e073

+2 -1
+1 -1
tools/perf/util/symbol.c
··· 1596 1596 list_add_tail(&dso->node, head); 1597 1597 } 1598 1598 1599 - static struct dso *dsos__find(struct list_head *head, const char *name) 1599 + struct dso *dsos__find(struct list_head *head, const char *name) 1600 1600 { 1601 1601 struct dso *pos; 1602 1602
+1
tools/perf/util/symbol.h
··· 294 294 void dso__sort_by_name(struct dso *dso, enum map_type type); 295 295 296 296 void dsos__add(struct list_head *head, struct dso *dso); 297 + struct dso *dsos__find(struct list_head *head, const char *name); 297 298 struct dso *__dsos__findnew(struct list_head *head, const char *name); 298 299 299 300 int dso__load(struct dso *dso, struct map *map, symbol_filter_t filter);