From: Steven Rostedt Date: Wed, 20 May 2009 23:21:47 +0000 (-0400) Subject: tracing: add __print_symbolic to trace events X-Git-Tag: v2.6.31-rc1~401^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f4fc29dd68dfab9c6ddd5d087d34a5b6818cb00;p=pandora-kernel.git tracing: add __print_symbolic to trace events This patch adds __print_symbolic which is similar to __print_flags but works for an enumeration type instead. That is, there is only a one to one mapping between the values and the symbols. When a match is made, then it is printed, otherwise the hex value is outputed. [ Impact: add interface for showing symbol names in events ] Signed-off-by: Steven Rostedt Signed-off-by: Frederic Weisbecker --- Reading git-diff-tree failed