diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2016-11-02 14:41:30 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-11-02 14:41:30 -0700 |
| commit | 59f5ac9019c55577fe5dd2369d572494243387fa (patch) | |
| tree | 3fbb928b9131f3dcd4fdef7eb053752fe89074e1 /include | |
| parent | 72b163627a887f9174e8bc6c73edb9a8f311cba2 (diff) | |
| parent | 5fa9ed4664b35e7563b9f0e2f8a2a453ffa15462 (diff) | |
Merge "clk: msm: clock-debug: Print VDD level in clock_state traces"
Diffstat (limited to 'include')
| -rw-r--r-- | include/trace/events/power.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/trace/events/power.h b/include/trace/events/power.h index e8bc27f3467e..bc33e91ec5e6 100644 --- a/include/trace/events/power.h +++ b/include/trace/events/power.h @@ -369,15 +369,17 @@ TRACE_EVENT(clock_set_parent, TRACE_EVENT(clock_state, TP_PROTO(const char *name, unsigned long prepare_count, - unsigned long count, unsigned long rate), + unsigned long count, unsigned long rate, + unsigned int vdd_level), - TP_ARGS(name, prepare_count, count, rate), + TP_ARGS(name, prepare_count, count, rate, vdd_level), TP_STRUCT__entry( __string(name, name) __field(unsigned long, prepare_count) __field(unsigned long, count) __field(unsigned long, rate) + __field(unsigned int, vdd_level) ), TP_fast_assign( @@ -385,10 +387,12 @@ TRACE_EVENT(clock_state, __entry->prepare_count = prepare_count; __entry->count = count; __entry->rate = rate; + __entry->vdd_level = vdd_level; ), - TP_printk("%s\t[%lu:%lu]\t%lu", __get_str(name), __entry->prepare_count, - __entry->count, __entry->rate) + TP_printk("%s\tprepare:enable cnt [%lu:%lu]\trate: vdd level [%lu:%u]", + __get_str(name), __entry->prepare_count, + __entry->count, __entry->rate, __entry->vdd_level) ); /* |
