From: Steven Rostedt (Red Hat) Date: Fri, 27 Mar 2015 20:31:44 +0000 (-0400) Subject: irq/tracing: Export enums in tracepoints to user space X-Git-Tag: omap-for-v4.2/o2_dc~149^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0a91b3caa053c9964f1d1e6941f0963d002a670;p=pandora-kernel.git irq/tracing: Export enums in tracepoints to user space The enums used by the softirq mapping is what is shown in the output of the __print_symbolic() and not their values, that are needed to map them to their strings. Export them to userspace with the TRACE_DEFINE_ENUM() macro so that user space tools can map the enums with their values. Link: http://lkml.kernel.org/r/20150403013802.220157513@goodmis.org Cc: Peter Zijlstra Cc: Ingo Molnar Reviewed-by: Masami Hiramatsu Tested-by: Masami Hiramatsu Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed