Fix: statedump nsproxy 3.11 Linux support
[lttng-modules.git] / lttng-statedump-impl.c
index 04acf6eff3409beb78944fad9476d44c74098cec..bf9457b5351a379f74efdb65e1dc24681d4a00e1 100644 (file)
@@ -50,6 +50,7 @@
 #include "wrapper/irqdesc.h"
 #include "wrapper/spinlock.h"
 #include "wrapper/fdtable.h"
+#include "wrapper/nsproxy.h"
 
 #ifdef CONFIG_GENERIC_HARDIRQS
 #include <linux/irq.h>
@@ -295,7 +296,7 @@ void lttng_statedump_process_ns(struct lttng_session *session,
        rcu_read_lock();
        proxy = task_nsproxy(p);
        if (proxy) {
-               pid_ns = proxy->pid_ns;
+               pid_ns = lttng_get_proxy_pid_ns(proxy);
                do {
                        trace_lttng_statedump_process_state(session,
                                p, type, mode, submode, status, pid_ns);
This page took 0.023869 seconds and 4 git commands to generate.