]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
Thermal: Add thermal events tracing (ftrace)
authorTimo Alho <talho@nvidia.com>
Wed, 6 Mar 2013 17:37:25 +0000 (19:37 +0200)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:02:05 +0000 (13:02 -0700)
commit1c603bf1abc44a82f2de51c37af076abcf133974
tree692ee90e4654a9754ee4cdb86c0b55a5512269d9
parent04e5340972c5dd72d640e7989552eba161301266
Thermal: Add thermal events tracing (ftrace)

Following two events in thermal framework are traced:
 - Call to handle_thermal_trip (thermal_zone_device name and temperature
   will be printed)
 - Call to thermal_cdev_update (thermal_cooling_device name and updated
   cooling state value will be printed)

Bug 1050412

Change-Id: If7e685ce26455820408d694fa720105ecae15469
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/207010
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
drivers/thermal/thermal_core.c
include/trace/events/thermal.h [new file with mode: 0644]