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
(cherry picked from commit c0e030667214f65b0ab49840081ea53d6df24d4a)
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/225020
GVS: Gerrit_Virtual_Submit
2 files changed