summaryrefslogtreecommitdiffstats
path: root/kernel/module.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-06-26 15:42:41 +0200
committerSteven Rostedt <rostedt@goodmis.org>2014-07-01 13:13:39 +0200
commit7b039cb4c5a90d8ea576b17e096f7334457aeb57 (patch)
treef901548a3740e26a36f142e049e28918199ca67f /kernel/module.c
parenttracing: Remove unnecessary null test before debugfs_remove() (diff)
downloadlinux-7b039cb4c5a90d8ea576b17e096f7334457aeb57.tar.xz
linux-7b039cb4c5a90d8ea576b17e096f7334457aeb57.zip
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/20140626220129.452783019@goodmis.org Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions