projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10dd3eb
)
tracing, power-trace: make it build even if the power-tracer is turned off
author
Ingo Molnar
<mingo@elte.hu>
Fri, 6 Mar 2009 11:47:08 +0000
(12:47 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 6 Mar 2009 11:47:08 +0000
(12:47 +0100)
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>
include/trace/power.h
patch
|
blob
|
blame
|
history
diff --git
a/include/trace/power.h
b/include/trace/power.h
index 2c733e58e89cca26e1ec27b0da7c5264bfccfeb0..38aca537e49765dce6939c110080f0496b00a5f3 100644
(file)
--- a/
include/trace/power.h
+++ b/
include/trace/power.h
@@
-11,12
+11,10
@@
enum {
};
struct power_trace {
-#ifdef CONFIG_POWER_TRACER
ktime_t stamp;
ktime_t end;
int type;
int state;
-#endif
};
DECLARE_TRACE(power_start,