tracing: fix multiple use of __print_flags and __print_symbolic
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 3 Jun 2009 13:52:03 +0000 (14:52 +0100)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 3 Jun 2009 14:29:48 +0000 (10:29 -0400)
commit56d8bd3f0b98972312cad683947ec90b21011199
tree8ed2bb43d0f00923dd81b5b2c19c91b09e3977c6
parent048dc50c5e7eada19ebabbad70b7966d14283d41
tracing: fix multiple use of __print_flags and __print_symbolic

Here is an updated patch to include the extra call to
trace_seq_init() as requested. This is vs. the latest
-tip tree and fixes the use of multiple __print_flags
and __print_symbolic in a single tracer. Also tested
to ensure its working now:

mount.gfs2-2534  [000]   235.850587: gfs2_glock_queue: 8.7 glock 1:2 dequeue PR
mount.gfs2-2534  [000]   235.850591: gfs2_demote_rq: 8.7 glock 1:0 demote EX to NL flags:DI
mount.gfs2-2534  [000]   235.850591: gfs2_glock_queue: 8.7 glock 1:0 dequeue EX
glock_workqueue-2529  [000]   235.850666: gfs2_glock_state_change: 8.7 glock 1:0 state EX => NL tgt:NL dmt:NL flags:lDpI
glock_workqueue-2529  [000]   235.850672: gfs2_glock_put: 8.7 glock 1:0 state NL => IV flags:I

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
LKML-Reference: <1244037123.29604.603.camel@localhost.localdomain>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/trace/ftrace.h
kernel/trace/trace_output.c