aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2012-04-02 17:17:14 -0700
committerRuchi Kandoi <kandoiruchi@google.com>2015-02-03 16:48:54 -0800
commitdbbe568f84d3e42dbcfa8ded8eff35813d54934e (patch)
tree999f71eb2eab364bbeb502f55c6eabc1c6b98189 /include
parentcb38019fbca280205c5a57c625cbba1dadbc8607 (diff)
cpufreq: interactive: Boost frequency on touchscreen input
Based on previous patches by Tero Kristo <tero.kristo@nokia.com>, Brian Steuer <bsteuer@codeaurora.org>, David Ng <dave@codeaurora.org>, Antti P Miettinen <amiettinen@nvidia.com>, and Thomas Renninger <trenn@suse.de> Change-Id: Ic55fedcf6f9310f43a7022fb88e23b0392122769 Signed-off-by: Todd Poynor <toddpoynor@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/trace/events/cpufreq_interactive.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/trace/events/cpufreq_interactive.h b/include/trace/events/cpufreq_interactive.h
index 3a90d3d609ba..19e070b897ac 100644
--- a/include/trace/events/cpufreq_interactive.h
+++ b/include/trace/events/cpufreq_interactive.h
@@ -81,6 +81,18 @@ DEFINE_EVENT(loadeval, cpufreq_interactive_notyet,
unsigned long curfreq, unsigned long targfreq),
TP_ARGS(cpu_id, load, curfreq, targfreq)
);
+
+TRACE_EVENT(cpufreq_interactive_boost,
+ 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 */