summaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorAndy Chiang <achiang@nvidia.com>2013-09-13 17:44:16 +0800
committerHayden Du <haydend@nvidia.com>2013-10-15 19:24:23 -0700
commit5a004b96fa005ef0800848f9d822978f5258d6cd (patch)
tree6f06e018f06fc774a2e14e944559794437b7c3a8 /include/trace
parentee08b2ad88b792939a44718f09a818c7d532bbac (diff)
input: touch: maxim_sti: Update to version 1.4.1, v28
Fast-forward code from the first maxim code drop. Bug 1364399 Change-Id: I01f1078b6c4942cd3e5102c0c33d823b54bb56e8 Signed-off-by: Andy Chiang <achiang@nvidia.com> Signed-off-by: Hayden Du <haydend@nvidia.com> Reviewed-on: http://git-master/r/289390 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Kerwin Wan <kerwinw@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Robert Collins <rcollins@nvidia.com>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/touchscreen_maxim.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/include/trace/events/touchscreen_maxim.h b/include/trace/events/touchscreen_maxim.h
new file mode 100644
index 000000000000..2f0e99d80d36
--- /dev/null
+++ b/include/trace/events/touchscreen_maxim.h
@@ -0,0 +1,48 @@
+/*
+ * include/trace/events/touchscreen_maxim.h
+ *
+ * Maxim touchscreen event logging to ftrace.
+ *
+ * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#undef TRACE_SYSTEM
+#define TRACE_SYSTEM touchscreen_maxim
+
+#if !defined(_TRACE_TOUCHSCREEN_MAXIM_H) || defined(TRACE_HEADER_MULTI_READ)
+#define _TRACE_TOUCHSCREEN_MAXIM_H
+
+#include <linux/ktime.h>
+#include <linux/tracepoint.h>
+
+TRACE_EVENT(touchscreen_maxim_irq,
+ TP_PROTO(const char *name),
+ TP_ARGS(name),
+ TP_STRUCT__entry(
+ __field(const char *, name)
+ ),
+ TP_fast_assign(
+ __entry->name = name;
+ ),
+ TP_printk("name=%s",
+ __entry->name)
+);
+
+#endif /* _TRACE_TOUCHSCREEN_MAXIM_H */
+
+/* This part must be outside protection */
+#include <trace/define_trace.h>