summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/rm31080a_ts.c
diff options
context:
space:
mode:
authorVikas Jain <vjain@nvidia.com>2013-01-18 12:39:48 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:02:22 -0700
commitf0ed297887b6a6248d3f410a213b737eb539e781 (patch)
treeb8f289585f879b674daf945322b4b3f5ed120607 /drivers/input/touchscreen/rm31080a_ts.c
parent777d44c46043f75c456749f4133ebaf90e3f6160 (diff)
input: touch: raydium: Add ftrace logging.
Enable Raydium IRQ handler ftrace logging for profiling. Bug 1170830. Change-Id: I4ade91ea4e6cb1c1b7764f2cf2572f9bbaaa1287 Signed-off-by: Vikas Jain <vjain@nvidia.com> Reviewed-on: http://git-master/r/192336 (cherry picked from commit 0d77de91d85a9cb09af3dd3ce86235d73449652a) Reviewed-on: http://git-master/r/201681 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'drivers/input/touchscreen/rm31080a_ts.c')
-rw-r--r--drivers/input/touchscreen/rm31080a_ts.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/rm31080a_ts.c b/drivers/input/touchscreen/rm31080a_ts.c
index 8c7c63036eec..058669d7924d 100644
--- a/drivers/input/touchscreen/rm31080a_ts.c
+++ b/drivers/input/touchscreen/rm31080a_ts.c
@@ -35,6 +35,9 @@
#include <linux/spi/rm31080a_ts.h>
#include <linux/spi/rm31080a_ctrl.h>
#include <../clock.h>
+
+#define CREATE_TRACE_POINTS
+#include <trace/events/touchscreen_raydium.h>
/*=========================================================================*/
/*DEFINITIONS */
/*=========================================================================*/
@@ -1529,6 +1532,7 @@ static irqreturn_t rm31080_irq(int irq, void *handle)
(g_stTs.u8ScanModeState == RM_SCAN_MODE_AUTO_SCAN))
input_event(g_input_dev, EV_MSC, MSC_ACTIVITY, 1);
#endif
+ trace_touchscreen_raydium_irq("Raydium_interrupt");
#ifdef ENABLE_WORK_QUEUE
queue_work(g_stTs.rm_workqueue, &g_stTs.rm_work);