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)
commit4798baec2eaada44be415af23c844d810b284c42
tree6da5c1c2852f27a913d76828a1beca31f7a2906d
parentc5ca01c9ce528a1ace54ba422448a8524e3b7883
LTTng: probe-statedump: add #include <linux/sched.h>

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
This page took 0.025158 seconds and 4 git commands to generate.