Fix: iterate manually over each live trace to add to catch errors
authorJulien Desfossez <jdesfossez@efficios.com>
Tue, 18 Nov 2014 17:52:31 +0000 (12:52 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 2 Dec 2014 16:11:39 +0000 (11:11 -0500)
commit7840bb080e2b9bf478afa9ab8a7059f8447a5f1e
tree300a2ece9f29d2390f7cc59b943b578be35778d0
parent33287b163aa7d5b066be157d8c67c4f7bca2d618
Fix: iterate manually over each live trace to add to catch errors

Instead of using g_hash_table_foreach, we now control the iteration over
the hash table, so we can handle properly the errors.
For now, if there is an error for any trace, we consider this a fatal
issue and exit.

We could allow the process to continue and only skip the problematic
traces, but we will wait until this becomes a real use-case.

Fixes: #827
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
formats/lttng-live/lttng-live-comm.c
This page took 0.023983 seconds and 4 git commands to generate.