summaryrefslogtreecommitdiffstats
path: root/include/trace/ftrace.h
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat)2014-11-13 03:11:59 +0100
committerSteven Rostedt2014-11-19 21:25:38 +0100
commite400a40cffa77e45c60c5431ec8757579247cae2 (patch)
tree3f47e176dc3bdd8c3cfe469a1095dce8c5139f4c /include/trace/ftrace.h
parentRAS/tracing: Use trace_seq_buffer_ptr() helper instead of open coded (diff)
downloadkernel-qcow2-linux-e400a40cffa77e45c60c5431ec8757579247cae2.tar.gz
kernel-qcow2-linux-e400a40cffa77e45c60c5431ec8757579247cae2.tar.xz
kernel-qcow2-linux-e400a40cffa77e45c60c5431ec8757579247cae2.zip
tracing: Fix trace_seq_bitmask() to start at current position
In trace_seq_bitmask() it calls bitmap_scnprintf() not from the current position of the trace_seq buffer (s->buffer + s->len), but instead from the beginning of the buffer (s->buffer). Luckily, the only user of this "ipi_raise tracepoint" uses it as the first parameter, and as such, the start of the temp buffer in include/trace/ftrace.h (see __get_bitmask()). Reported-by: Petr Mladek <pmladek@suse.cz> Reviewed-by: Petr Mladek <pmladek@suse.cz> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/trace/ftrace.h')
0 files changed, 0 insertions, 0 deletions