mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
recording: track DEBUGINFOD_URLS environment variable
This is handy to know in case we want to use it to find symbols after the fact with a capture.
This commit is contained in:
@ -104,6 +104,7 @@ sysprof_recording_fiber (gpointer user_data)
|
||||
g_autoptr(DexFuture) monitor = NULL;
|
||||
g_autoptr(DexFuture) message = NULL;
|
||||
g_autoptr(GError) error = NULL;
|
||||
const char *debuginfod_urls = NULL;
|
||||
struct utsname uts;
|
||||
struct sysinfo si;
|
||||
gint64 begin_time;
|
||||
@ -189,6 +190,9 @@ sysprof_recording_fiber (gpointer user_data)
|
||||
add_metadata (self, "HOSTTYPE", g_getenv ("HOSTTYPE"));
|
||||
add_metadata (self, "OSTYPE", g_getenv ("OSTYPE"));
|
||||
|
||||
if ((debuginfod_urls = g_getenv ("DEBUGINFOD_URLS")))
|
||||
add_metadata (self, "DEBUGINFOD_URLS", debuginfod_urls);
|
||||
|
||||
/* Log information about the spawning process */
|
||||
if (self->spawnable != NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user