|
@@ -1130,7 +1130,7 @@ static void ip__resolve_ams(struct machine *machine, struct thread *thread,
|
|
|
* or else, the symbol is unknown
|
|
|
*/
|
|
|
thread__find_addr_location(thread, machine, m, MAP__FUNCTION,
|
|
|
- ip, &al, NULL);
|
|
|
+ ip, &al);
|
|
|
if (al.sym)
|
|
|
goto found;
|
|
|
}
|
|
@@ -1148,8 +1148,8 @@ static void ip__resolve_data(struct machine *machine, struct thread *thread,
|
|
|
|
|
|
memset(&al, 0, sizeof(al));
|
|
|
|
|
|
- thread__find_addr_location(thread, machine, m, MAP__VARIABLE, addr, &al,
|
|
|
- NULL);
|
|
|
+ thread__find_addr_location(thread, machine, m, MAP__VARIABLE, addr,
|
|
|
+ &al);
|
|
|
ams->addr = addr;
|
|
|
ams->al_addr = al.addr;
|
|
|
ams->sym = al.sym;
|
|
@@ -1244,7 +1244,7 @@ static int machine__resolve_callchain_sample(struct machine *machine,
|
|
|
|
|
|
al.filtered = false;
|
|
|
thread__find_addr_location(thread, machine, cpumode,
|
|
|
- MAP__FUNCTION, ip, &al, NULL);
|
|
|
+ MAP__FUNCTION, ip, &al);
|
|
|
if (al.sym != NULL) {
|
|
|
if (sort__has_parent && !*parent &&
|
|
|
symbol__match_regex(al.sym, &parent_regex))
|