[lkml]   [2010]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subject[PATCH 0/2][RFC] tracing: Showing symbols for TRACE_EVENT
    [Re-sending since my first try was missing a '>' from Frederic's
    email address, and it screwed up quilt mail ]

    The __print_symbolic() macro is used by TRACE_EVENT TP_printk to convert
    numbers into symbols. But if those numbers are defined as ENUMS, it works
    fine for ftrace trace output, but a parser reading the binary trace
    will not know how to translate the enum into a number.

    The first patch creates a EXTRACT_TRACE_SYMBOL(sym) macro that
    a <events>.h file can add to extract out all the enums that it uses
    in TRACE_EVENTs. These symbols will then appear in the event_symbols
    file in the events/ directory.

    The second patch converts softirq symbols in include/trace/events/irq.h

    This is an RFC patch set. I want to get your feedback before I push
    this out of my git repo.


    -- Steve

     \ /
      Last update: 2010-02-12 20:13    [W:0.019 / U:7.512 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site