mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
elf-symbol-resolver: Use custom debug dirs
They were set up, but not actually used for resolving. Fix that.
This commit is contained in:
@ -99,11 +99,9 @@ process_info_get_debug_dirs (const ProcessInfo *pi)
|
|||||||
{
|
{
|
||||||
static const char *standard[] = { "/usr/lib/debug", NULL };
|
static const char *standard[] = { "/usr/lib/debug", NULL };
|
||||||
|
|
||||||
if (pi->kind == PROCESS_KIND_FLATPAK)
|
if (pi->debug_dirs)
|
||||||
return standard; /* TODO */
|
return (const char * const *) pi->debug_dirs;
|
||||||
else if (pi->kind == PROCESS_KIND_PODMAN)
|
|
||||||
return standard; /* TODO */
|
|
||||||
else
|
|
||||||
return standard;
|
return standard;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user