diff options
author | Antti P Miettinen <amiettinen@nvidia.com> | 2012-08-10 15:18:38 +0300 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-08-13 14:51:38 -0700 |
commit | fef755d45e3f4fa8b29fcc66ea2e7a6fd4e80268 (patch) | |
tree | d97880f729a93f4e3b324faccf2637aebf99d55e /include | |
parent | 9dfdd9ac17ac9955b431cb962df3d0492384ba0e (diff) |
tracing: Clock lock trace events
Add tracing for clock lock/unlock operations.
Bug 960307
Change-Id: Id5c2d8be25900bc701e5dcd73f87c068ab6e5894
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/122666
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/trace/events/power.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/trace/events/power.h b/include/trace/events/power.h index 5b503e9b661c..a6be189a2b5f 100644 --- a/include/trace/events/power.h +++ b/include/trace/events/power.h @@ -306,6 +306,20 @@ DEFINE_EVENT(clock, clock_set_rate, TP_ARGS(name, state, cpu_id) ); +DEFINE_EVENT(clock, clock_lock, + + TP_PROTO(const char *name, unsigned int state, unsigned int cpu_id), + + TP_ARGS(name, state, cpu_id) +); + +DEFINE_EVENT(clock, clock_unlock, + + TP_PROTO(const char *name, unsigned int state, unsigned int cpu_id), + + TP_ARGS(name, state, cpu_id) +); + /* * The power domain events are used for power domains transitions */ |