[sysprof/wip/chergert/sysprof-3] libsysprof: join using cat helper
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/sysprof-3] libsysprof: join using cat helper
- Date: Tue, 21 May 2019 23:15:46 +0000 (UTC)
commit 609176972e68bfc1c391c5e8aee647af0b5d3cb0
Author: Christian Hergert <chergert redhat com>
Date: Tue May 21 09:53:59 2019 -0700
libsysprof: join using cat helper
src/libsysprof/sysprof-proxy-source.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/src/libsysprof/sysprof-proxy-source.c b/src/libsysprof/sysprof-proxy-source.c
index 26118bd..6d95744 100644
--- a/src/libsysprof/sysprof-proxy-source.c
+++ b/src/libsysprof/sysprof-proxy-source.c
@@ -388,7 +388,13 @@ sysprof_proxy_source_cat (SysprofProxySource *self,
g_assert (SYSPROF_IS_PROXY_SOURCE (self));
g_assert (reader != NULL);
- g_warning ("TODO: join reader");
+ if (self->writer != NULL)
+ {
+ g_autoptr(GError) error = NULL;
+
+ if (!sysprof_capture_writer_cat (self->writer, reader, &error))
+ g_warning ("Failed to join reader: %s\n", error->message);
+ }
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]