Fix: lttng_statedump_process_state for each PID NS has infinite loop
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 23 Aug 2012 21:38:39 +0000 (17:38 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 23 Aug 2012 21:38:39 +0000 (17:38 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-statedump-impl.c

index 89b55e53c369abeae1b3d5a34d6ee824b528b58f..c92c331bee0a20be37ad5a985bc9ff970f9b75c0 100644 (file)
@@ -290,6 +290,7 @@ void lttng_statedump_process_ns(struct lttng_session *session,
                do {
                        trace_lttng_statedump_process_state(session,
                                p, type, mode, submode, status, pid_ns);
+                       pid_ns = pid_ns->parent;
                } while (pid_ns);
        } else {
                trace_lttng_statedump_process_state(session,
This page took 0.026968 seconds and 4 git commands to generate.