rewind the Link_map to get all loaded modules
This commit is contained in:
parent
3cf07fbb30
commit
f753b02aec
|
@ -826,6 +826,10 @@ int sigar_dlinfo_modules(sigar_t *sigar, sigar_proc_modules_t *procmods)
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
while (map->l_prev != NULL) {
|
||||||
|
map = map->l_prev;
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
int status =
|
int status =
|
||||||
procmods->module_getter(procmods->data,
|
procmods->module_getter(procmods->data,
|
||||||
|
|
Loading…
Reference in New Issue