Prev: [PATCH 2/2][RFC] tracing: Add extract out softirq names used by irq trace events
Next: Linux 2.6.33-rc8
From: Steven Rostedt on 12 Feb 2010 14:20 [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. Thanks, -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |