aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSteven Rostedt2012-02-20 20:37:32 -0500
committerSteven Rostedt2012-02-21 11:08:13 -0500
commit5b34926114e39e12005031269613d2b13194aeba (patch)
tree40c0fd479d6e048ceec060d05e141de0a941b7b5 /scripts
parente404b321dbb2d6e438522b7dce9c1d0c6a8c5275 (diff)
tracing: Don't use p->len field to determine output in __print_*() functions
If more than one __print_*() function is used in a tracepoint (__print_flags(), __print_symbols(), etc), then the temp seq buffer will not be zero on entry. Using the temp seq buffer's length to know if data has been printed or not in the current function is incorrect and may produce incorrect results. Currently, no in-tree tracepoint causes this bug, but new ones may be created. Cc: Andrew Vagin <avagin@openvz.org> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions