[sysprof] proc: track overlays for flatpak /app and /usr
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] proc: track overlays for flatpak /app and /usr
- Date: Thu, 25 Feb 2021 21:45:11 +0000 (UTC)
commit 43d2b0b01969b6652291866047597debb7fc394e
Author: Christian Hergert <chergert redhat com>
Date: Thu Feb 25 13:44:58 2021 -0800
proc: track overlays for flatpak /app and /usr
src/libsysprof/sysprof-proc-source.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/src/libsysprof/sysprof-proc-source.c b/src/libsysprof/sysprof-proc-source.c
index 2b8f790..937a6ea 100644
--- a/src/libsysprof/sysprof-proc-source.c
+++ b/src/libsysprof/sysprof-proc-source.c
@@ -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)))
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]