mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 22:25:03 +00:00
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>
This commit is contained in:
parent
10dd3ebe21
commit
af438c0f11
1 changed files with 0 additions and 2 deletions
|
@ -11,12 +11,10 @@ enum {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct power_trace {
|
struct power_trace {
|
||||||
#ifdef CONFIG_POWER_TRACER
|
|
||||||
ktime_t stamp;
|
ktime_t stamp;
|
||||||
ktime_t end;
|
ktime_t end;
|
||||||
int type;
|
int type;
|
||||||
int state;
|
int state;
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_TRACE(power_start,
|
DECLARE_TRACE(power_start,
|
||||||
|
|
Loading…
Reference in a new issue