diff options
author | Todd Poynor <toddpoynor@google.com> | 2012-04-23 20:42:41 -0700 |
---|---|---|
committer | Nitin Garg <nitin.garg@nxp.com> | 2016-01-14 11:02:51 -0600 |
commit | a66443e1e8671940393d2c1762ef075655605abe (patch) | |
tree | b0e3bbdf91f32f3897af7d74358ac52d2df8b7ad /include/trace | |
parent | 33a8382c24b58648ba210da73e9d6d70ab8ea7c2 (diff) |
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')
-rw-r--r-- | include/trace/events/cpufreq_interactive.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/trace/events/cpufreq_interactive.h b/include/trace/events/cpufreq_interactive.h index 19e070b897ac..ae6f232e498f 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 */ |