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 06:29:17 +0000 (08:29 +0200)
commit0ed243c7684b367159609d58a894048bc72cd810
tree5640a3aebdfe1f135ab7733a6162d61e1358d4d9
parent3295b5b60ec7e15e09b9644dc30d3e65acfb120c
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.026056 seconds and 4 git commands to generate.