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:01:06 +0000 (11:01 -0500)
commitbf6c9bd641ef760014da5efd23085f5e93507990
tree22e465dce450c3203482a49bd006f559c25d6424
parent200b270b565aeb221ebc433220876cfff55893c7
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.026212 seconds and 4 git commands to generate.