From: Steven Rostedt (Red Hat) Date: Thu, 26 Jun 2014 13:42:41 +0000 (-0400) Subject: tracing: Add trace_seq_buffer_ptr() helper function X-Git-Tag: omap-for-v3.17/fixes-against-rc2~186^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b039cb4c5a90d8ea576b17e096f7334457aeb57;p=pandora-kernel.git 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 Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed