aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace/events
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2012-04-23 20:42:41 -0700
committerTodd Poynor <toddpoynor@google.com>2012-04-24 20:25:03 -0700
commit5d61d3a6e2103801565048202999423657b4430a (patch)
treede1803f62809a68c8ed868bafc0979a8ea5b3d1f /include/trace/events
parent66510aa1148e3457e7d46e0a2582dac7c591b95d (diff)
downloadkernel_samsung_tuna-5d61d3a6e2103801565048202999423657b4430a.zip
kernel_samsung_tuna-5d61d3a6e2103801565048202999423657b4430a.tar.gz
kernel_samsung_tuna-5d61d3a6e2103801565048202999423657b4430a.tar.bz2
cpufreq: interactive: Add sysfs boost interface for hints from userspace
The explicit hint on/off version. Change-Id: Ibf62b6d45bf6fb8c9c055b9bdaf074ce9374c04f Signed-off-by: Todd Poynor <toddpoynor@google.com>
Diffstat (limited to 'include/trace/events')
-rw-r--r--include/trace/events/cpufreq_interactive.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/trace/events/cpufreq_interactive.h b/include/trace/events/cpufreq_interactive.h
index 19e070b..ae6f232 100644
--- a/include/trace/events/cpufreq_interactive.h
+++ b/include/trace/events/cpufreq_interactive.h
@@ -93,6 +93,19 @@ TRACE_EVENT(cpufreq_interactive_boost,
),
TP_printk("freq=%lu", __entry->freq)
);
+
+TRACE_EVENT(cpufreq_interactive_unboost,
+ TP_PROTO(unsigned long freq),
+ TP_ARGS(freq),
+ TP_STRUCT__entry(
+ __field(unsigned long, freq)
+ ),
+ TP_fast_assign(
+ __entry->freq = freq;
+ ),
+ TP_printk("freq=%lu", __entry->freq)
+);
+
#endif /* _TRACE_CPUFREQ_INTERACTIVE_H */
/* This part must be outside protection */