mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 23:20:54 +00:00
proc: track overlays for flatpak /app and /usr
This commit is contained in:
@ -293,7 +293,12 @@ sysprof_proc_source_populate_pid_flatpak (SysprofProcSource *self,
|
|||||||
!(runtime_path = g_key_file_get_string (key_file, "Instance", "runtime-path", NULL)))
|
!(runtime_path = g_key_file_get_string (key_file, "Instance", "runtime-path", NULL)))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* TODO: Add host path mapping for Flatpak information */
|
sysprof_capture_writer_add_overlay (self->writer,
|
||||||
|
SYSPROF_CAPTURE_CURRENT_TIME,
|
||||||
|
-1, pid, 0, runtime_path, "/usr");
|
||||||
|
sysprof_capture_writer_add_overlay (self->writer,
|
||||||
|
SYSPROF_CAPTURE_CURRENT_TIME,
|
||||||
|
-1, pid, 0, app_path, "/app");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user