Skip to content

Commit 93970b6

Browse files
jtlaytonTrond Myklebust
authored andcommitted
sunrpc: remove newlines from tracepoints
Tracepoint strings don't require newlines (and in fact, they are undesirable). Signed-off-by: Jeff Layton <[email protected]> Acked-by: Chuck Lever <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
1 parent e8e26a0 commit 93970b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/trace/events/sunrpc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ TRACE_EVENT(rpc_xdr_overflow,
719719
),
720720

721721
TP_printk(SUNRPC_TRACE_TASK_SPECIFIER
722-
" %sv%d %s requested=%zu p=%p end=%p xdr=[%p,%zu]/%u/[%p,%zu]/%u\n",
722+
" %sv%d %s requested=%zu p=%p end=%p xdr=[%p,%zu]/%u/[%p,%zu]/%u",
723723
__entry->task_id, __entry->client_id,
724724
__get_str(progname), __entry->version, __get_str(procedure),
725725
__entry->requested, __entry->p, __entry->end,
@@ -777,7 +777,7 @@ TRACE_EVENT(rpc_xdr_alignment,
777777
),
778778

779779
TP_printk(SUNRPC_TRACE_TASK_SPECIFIER
780-
" %sv%d %s offset=%zu copied=%u xdr=[%p,%zu]/%u/[%p,%zu]/%u\n",
780+
" %sv%d %s offset=%zu copied=%u xdr=[%p,%zu]/%u/[%p,%zu]/%u",
781781
__entry->task_id, __entry->client_id,
782782
__get_str(progname), __entry->version, __get_str(procedure),
783783
__entry->offset, __entry->copied,

0 commit comments

Comments
 (0)