lkml.org 
[lkml]   [2011]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[RFC patch 29/32] trace event asoc: semicolon removal
    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@efficios.com>
    Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
    CC: Steven Rostedt <rostedt@goodmis.org>
    CC: Frederic Weisbecker <fweisbec@gmail.com>
    CC: Ingo Molnar <mingo@elte.hu>
    CC: Thomas Gleixner <tglx@linutronix.de>
    CC: lrg@slimlogic.co.uk
    ---
    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 */



    \
     
     \ /
      Last update: 2011-05-04 01:21    [W:0.032 / U:32.284 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site