perf tools: Factor out the map initialization
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Mike Galbraith <efault@gmx.de> LKML-Reference: <1256927305-4628-1-git-send-email-acme@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
committed by
Ingo Molnar
parent
3ed67776fc
commit
afb7b4f08e
@@ -105,6 +105,8 @@ struct symbol;
|
||||
|
||||
typedef int (*symbol_filter_t)(struct map *map, struct symbol *sym);
|
||||
|
||||
void map__init(struct map *self, u64 start, u64 end, u64 pgoff,
|
||||
struct dso *dso);
|
||||
struct map *map__new(struct mmap_event *event, char *cwd, int cwdlen,
|
||||
unsigned int sym_priv_size);
|
||||
struct map *map__clone(struct map *self);
|
||||
|
Reference in New Issue
Block a user