|
|
@@ -104,6 +104,7 @@ u64 map__rip_2objdump(struct map *map, u64 rip);
|
|
|
u64 map__objdump_2mem(struct map *map, u64 ip);
|
|
|
|
|
|
struct symbol;
|
|
|
+struct thread;
|
|
|
|
|
|
/* map__for_each_symbol - iterate over the symbols in the given map
|
|
|
*
|
|
|
@@ -122,7 +123,7 @@ void map__init(struct map *map, enum map_type type,
|
|
|
struct map *map__new(struct machine *machine, u64 start, u64 len,
|
|
|
u64 pgoff, u32 pid, u32 d_maj, u32 d_min, u64 ino,
|
|
|
u64 ino_gen, u32 prot, u32 flags,
|
|
|
- char *filename, enum map_type type);
|
|
|
+ char *filename, enum map_type type, struct thread *thread);
|
|
|
struct map *map__new2(u64 start, struct dso *dso, enum map_type type);
|
|
|
void map__delete(struct map *map);
|
|
|
struct map *map__clone(struct map *map);
|