From: Mathieu Desnoyers Date: Thu, 23 Aug 2012 21:38:39 +0000 (-0400) Subject: Fix: lttng_statedump_process_state for each PID NS has infinite loop X-Git-Tag: v2.1.0-rc1~6 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=af73f727582c0015f35071edebd869694986fa99;p=lttng-modules.git Fix: lttng_statedump_process_state for each PID NS has infinite loop Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng-statedump-impl.c b/lttng-statedump-impl.c index 89b55e53..c92c331b 100644 --- a/lttng-statedump-impl.c +++ b/lttng-statedump-impl.c @@ -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,