powerdk: update wakelock tracepoint
authorGerman Monroy <german.monroy@intel.com>
Tue, 10 Apr 2012 22:23:15 +0000 (15:23 -0700)
committerbuildbot <buildbot@intel.com>
Thu, 19 Apr 2012 02:20:36 +0000 (19:20 -0700)
commitc733d42326da1c62c2de4cc3151fa290dd2217c1
treedf9fd1f77f3c980ada07520988880f5f3bcd44ba
parent8ed4165a34ebfa428aeaa4027d46976f77d50b79
powerdk: update wakelock tracepoint

BZ 31198

Fix from Lim Min Yeol that:
1. Moves trace function inside spinlock because wakelock pointer could
get invalidated during a tracing event
2. Polishes output

Change-Id: I3f4f7a0560f5a4494e3d85a7e1bd76ed77fba44e
Signed-off-by: Lim Min Yeol <min.yeol.lim@intel.com>
Signed-off-by: German Monroy <german.monroy@intel.com>
Reviewed-on: http://android.intel.com:8080/42990
Reviewed-by: Zhang, Dongxing <dongxing.zhang@intel.com>
Reviewed-by: Kanigeri, Hari K <hari.k.kanigeri@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
include/trace/events/wakelock.h
kernel/power/wakelock.c