tracing: add flag output for kmem events
authorSteven Rostedt <srostedt@redhat.com>
Fri, 15 May 2009 20:16:30 +0000 (16:16 -0400)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 26 May 2009 18:31:14 +0000 (20:31 +0200)
commit62ba180e80f4194a498585ac0e4c07daa8ca08d1
tree44bdb742aa542e16cc08d93d6cca6b22e9492071
parent937cdb9db7f59278d0cb1582e6e64e3dfd73b4fc
tracing: add flag output for kmem events

This patch changes the output for gfp_flags from being a simple hex value
to the actual names.

  gfp_flags=GFP_ATOMIC  instead of gfp_flags=00000020

And even

  gfp_flags=GFP_KERNEL instead of gfp_flags=000000d0

(Thanks to Frederic Weisbecker for pointing out that the first version
 had a bad order of GFP masks)

[ Impact: more human readable output from tracer ]

Acked-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
include/trace/events/kmem.h