]> Git Repo - linux.git/commit - include/linux/trace_seq.h
tracing: Add trace_seq_buffer_ptr() helper function
authorSteven Rostedt (Red Hat) <[email protected]>
Thu, 26 Jun 2014 13:42:41 +0000 (09:42 -0400)
committerSteven Rostedt <[email protected]>
Tue, 1 Jul 2014 11:13:39 +0000 (07:13 -0400)
commit7b039cb4c5a90d8ea576b17e096f7334457aeb57
treef901548a3740e26a36f142e049e28918199ca67f
parent3f4d8f78a07dba1cb333ce749bd6a15c1ada362d
tracing: Add trace_seq_buffer_ptr() helper function

There's several locations in the kernel that open code the calculation
of the next location in the trace_seq buffer. This is usually done with

  p->buffer + p->len

Instead of having this open coded, supply a helper function in the
header to do it for them. This function is called trace_seq_buffer_ptr().

Link: http://lkml.kernel.org/p/[email protected]
Acked-by: Paolo Bonzini <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
arch/x86/kvm/mmutrace.h
drivers/scsi/scsi_trace.c
include/linux/trace_seq.h
kernel/trace/trace_output.c
This page took 0.065052 seconds and 4 git commands to generate.