diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-06 06:47:08 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-06 06:47:08 -0500 |
commit | af438c0f114b6f731b923b5c07150f6159471502 (patch) | |
tree | 640002ad0a9d59037edb85d4424dcd3461c38fe8 /include/trace | |
parent | 10dd3ebe213c31bff14b4dae3c5d32a76b1fad7c (diff) |
tracing, power-trace: make it build even if the power-tracer is turned off
Impact: build fix
The 'struct power_trace' definition is needed (for the event tracer) even if
the power-tracer plugin is turned off in the .config.
Cc: Steven Rostedt <srostedt@redhat.com>
LKML-Reference: <20090306104106.GF31042@elte.hu>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/power.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/trace/power.h b/include/trace/power.h index 2c733e58e89c..38aca537e497 100644 --- a/include/trace/power.h +++ b/include/trace/power.h | |||
@@ -11,12 +11,10 @@ enum { | |||
11 | }; | 11 | }; |
12 | 12 | ||
13 | struct power_trace { | 13 | struct power_trace { |
14 | #ifdef CONFIG_POWER_TRACER | ||
15 | ktime_t stamp; | 14 | ktime_t stamp; |
16 | ktime_t end; | 15 | ktime_t end; |
17 | int type; | 16 | int type; |
18 | int state; | 17 | int state; |
19 | #endif | ||
20 | }; | 18 | }; |
21 | 19 | ||
22 | DECLARE_TRACE(power_start, | 20 | DECLARE_TRACE(power_start, |