From: UCHINO Satoshi Date: Wed, 27 Jun 2012 05:44:29 +0000 (+0200) Subject: LTTng: probe-statedump: add #include X-Git-Tag: v2.1.0-rc1~18 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4798baec2eaada44be415af23c844d810b284c42;p=lttng-modules.git LTTng: probe-statedump: add #include 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 Signed-off-by: Mathieu Desnoyers --- diff --git a/probes/lttng-probe-statedump.c b/probes/lttng-probe-statedump.c index 9232a518..fc2af91d 100644 --- a/probes/lttng-probe-statedump.c +++ b/probes/lttng-probe-statedump.c @@ -27,6 +27,7 @@ #include #include #include +#include #include "../lttng-events.h" /*