From: Steven Rostedt (Red Hat) Date: Fri, 27 Mar 2015 20:18:07 +0000 (-0400) Subject: f2fs: Export the enums in the tracepoints to userspace X-Git-Tag: omap-for-v4.2/o2_dc~149^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5511b9a471f3bb2f1cd5d7bf6b4191403e49315e;p=pandora-kernel.git f2fs: Export the enums in the tracepoints to userspace The tracepoints that use __print_symbolic() use enums as the value to convert to strings. Unfortunately, the format files for these tracepoints show the enum name and not their value. This causes some userspace tools not to know how to convert __print_symbolic() to their strings. Add TRACE_DEFINE_ENUM() macros to export the enums used to userspace to let those tools know what those enum values are. Link: http://lkml.kernel.org/r/20150403013802.220157513@goodmis.org Cc: Namjae Jeon Cc: Pankaj Kumar Cc: Jaegeuk Kim Reviewed-by: Masami Hiramatsu Tested-by: Masami Hiramatsu Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed