diff options
author | 2009-05-20 19:21:47 -0400 | |
---|---|---|
committer | 2009-05-26 20:31:50 +0200 | |
commit | 0f4fc29dd68dfab9c6ddd5d087d34a5b6818cb00 (patch) | |
tree | af3d210c8db9adcf117580c949fb708badcb520b /lib/debugobjects.c | |
parent | tracing: add flag output for kmem events (diff) | |
download | wireguard-linux-0f4fc29dd68dfab9c6ddd5d087d34a5b6818cb00.tar.xz wireguard-linux-0f4fc29dd68dfab9c6ddd5d087d34a5b6818cb00.zip |
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 <rostedt@goodmis.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions