LTTng: probe-statedump: add #include <linux/sched.h>
authorUCHINO Satoshi <satoshi.uchino@toshiba.co.jp>
Wed, 27 Jun 2012 05:44:29 +0000 (07:44 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 27 Jun 2012 05:44:29 +0000 (07:44 +0200)
This fixes the following build error on ARM;

  CC [M]  drivers/staging/lttng/probes/lttng-probe-statedump.o
In file included from drivers/staging/lttng/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:221:0,
                 from drivers/staging/lttng/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:117,
                 from drivers/staging/lttng/probes/../instrumentation/events/lttng-module/lttng-statedump.h:162,
                 from drivers/staging/lttng/probes/lttng-probe-statedump.c:41:
drivers/staging/lttng/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/lttng-statedump.h:29:1: error: 'TASK_COMM_LEN' undeclared here (not in a function)

Signed-off-by: UCHINO Satoshi <satoshi.uchino@toshiba.co.jp>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
probes/lttng-probe-statedump.c

index 9232a518b687f6532987c8810b8e4b3ecaebcdf8..fc2af91df883b5c50e0d0329b4f8bbc986b98d2a 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/ip.h>
 #include <linux/netdevice.h>
 #include <linux/inetdevice.h>
+#include <linux/sched.h>
 #include "../lttng-events.h"
 
 /*
This page took 0.026154 seconds and 5 git commands to generate.