[RFC patch 29/32] trace event asoc: semicolon removal
From: Mathieu Desnoyers
Date: Tue May 03 2011 - 19:19:39 EST
Part of the gradual TRACE_EVENT() semicolon removal. Enables creation of array
of events, thus saving space for trace event probes. This is done by removing
the semicolons at the end of the DECLARE_EVENT_CLASS(), DEFINE_EVENT() and
TRACE_EVENT() declarations.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx>
Acked-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
CC: Steven Rostedt <rostedt@xxxxxxxxxxx>
CC: Frederic Weisbecker <fweisbec@xxxxxxxxx>
CC: Ingo Molnar <mingo@xxxxxxx>
CC: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CC: lrg@xxxxxxxxxxxxxxx
---
include/trace/events/asoc.h | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
Index: linux-2.6-lttng/include/trace/events/asoc.h
===================================================================
--- linux-2.6-lttng.orig/include/trace/events/asoc.h
+++ linux-2.6-lttng/include/trace/events/asoc.h
@@ -39,7 +39,7 @@ DECLARE_EVENT_CLASS(snd_soc_reg,
TP_printk("codec=%s.%d reg=%x val=%x", __get_str(name),
(int)__entry->id, (unsigned int)__entry->reg,
(unsigned int)__entry->val)
-);
+)
DEFINE_EVENT(snd_soc_reg, snd_soc_reg_write,
@@ -48,7 +48,7 @@ DEFINE_EVENT(snd_soc_reg, snd_soc_reg_wr
TP_ARGS(codec, reg, val)
-);
+)
DEFINE_EVENT(snd_soc_reg, snd_soc_reg_read,
@@ -57,7 +57,7 @@ DEFINE_EVENT(snd_soc_reg, snd_soc_reg_re
TP_ARGS(codec, reg, val)
-);
+)
DECLARE_EVENT_CLASS(snd_soc_card,
@@ -76,7 +76,7 @@ DECLARE_EVENT_CLASS(snd_soc_card,
),
TP_printk("card=%s val=%d", __get_str(name), (int)__entry->val)
-);
+)
DEFINE_EVENT(snd_soc_card, snd_soc_bias_level_start,
@@ -84,7 +84,7 @@ DEFINE_EVENT(snd_soc_card, snd_soc_bias_
TP_ARGS(card, val)
-);
+)
DEFINE_EVENT(snd_soc_card, snd_soc_bias_level_done,
@@ -92,7 +92,7 @@ DEFINE_EVENT(snd_soc_card, snd_soc_bias_
TP_ARGS(card, val)
-);
+)
DECLARE_EVENT_CLASS(snd_soc_dapm_basic,
@@ -109,7 +109,7 @@ DECLARE_EVENT_CLASS(snd_soc_dapm_basic,
),
TP_printk("card=%s", __get_str(name))
-);
+)
DEFINE_EVENT(snd_soc_dapm_basic, snd_soc_dapm_start,
@@ -117,7 +117,7 @@ DEFINE_EVENT(snd_soc_dapm_basic, snd_soc
TP_ARGS(card)
-);
+)
DEFINE_EVENT(snd_soc_dapm_basic, snd_soc_dapm_done,
@@ -125,7 +125,7 @@ DEFINE_EVENT(snd_soc_dapm_basic, snd_soc
TP_ARGS(card)
-);
+)
DECLARE_EVENT_CLASS(snd_soc_dapm_widget,
@@ -145,7 +145,7 @@ DECLARE_EVENT_CLASS(snd_soc_dapm_widget,
TP_printk("widget=%s val=%d", __get_str(name),
(int)__entry->val)
-);
+)
DEFINE_EVENT(snd_soc_dapm_widget, snd_soc_dapm_widget_power,
@@ -153,7 +153,7 @@ DEFINE_EVENT(snd_soc_dapm_widget, snd_so
TP_ARGS(w, val)
-);
+)
DEFINE_EVENT(snd_soc_dapm_widget, snd_soc_dapm_widget_event_start,
@@ -161,7 +161,7 @@ DEFINE_EVENT(snd_soc_dapm_widget, snd_so
TP_ARGS(w, val)
-);
+)
DEFINE_EVENT(snd_soc_dapm_widget, snd_soc_dapm_widget_event_done,
@@ -169,7 +169,7 @@ DEFINE_EVENT(snd_soc_dapm_widget, snd_so
TP_ARGS(w, val)
-);
+)
TRACE_EVENT(snd_soc_jack_irq,
@@ -186,7 +186,7 @@ TRACE_EVENT(snd_soc_jack_irq,
),
TP_printk("%s", __get_str(name))
-);
+)
TRACE_EVENT(snd_soc_jack_report,
@@ -208,7 +208,7 @@ TRACE_EVENT(snd_soc_jack_report,
TP_printk("jack=%s %x/%x", __get_str(name), (int)__entry->val,
(int)__entry->mask)
-);
+)
TRACE_EVENT(snd_soc_jack_notify,
@@ -227,7 +227,7 @@ TRACE_EVENT(snd_soc_jack_notify,
),
TP_printk("jack=%s %x", __get_str(name), (int)__entry->val)
-);
+)
TRACE_EVENT(snd_soc_cache_sync,
@@ -252,7 +252,7 @@ TRACE_EVENT(snd_soc_cache_sync,
TP_printk("codec=%s.%d type=%s status=%s", __get_str(name),
(int)__entry->id, __get_str(type), __get_str(status))
-);
+)
#endif /* _TRACE_ASOC_H */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/