Skip to content

Commit 3f22037

Browse files
rantalaaxboe
authored andcommitted
blk-wbt: Drop needless newlines from tracepoint format strings
Drop needless newlines from tracepoint format strings, they only add empty lines to perf tracing output. Signed-off-by: Tommi Rantala <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 3a89c25 commit 3f22037

File tree

1 file changed

+4
-4
lines changed
  • include/trace/events

1 file changed

+4
-4
lines changed

include/trace/events/wbt.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ TRACE_EVENT(wbt_stat,
4646
),
4747

4848
TP_printk("%s: rmean=%llu, rmin=%llu, rmax=%llu, rsamples=%llu, "
49-
"wmean=%llu, wmin=%llu, wmax=%llu, wsamples=%llu\n",
49+
"wmean=%llu, wmin=%llu, wmax=%llu, wsamples=%llu",
5050
__entry->name, __entry->rmean, __entry->rmin, __entry->rmax,
5151
__entry->rnr_samples, __entry->wmean, __entry->wmin,
5252
__entry->wmax, __entry->wnr_samples)
@@ -73,7 +73,7 @@ TRACE_EVENT(wbt_lat,
7373
__entry->lat = div_u64(lat, 1000);
7474
),
7575

76-
TP_printk("%s: latency %lluus\n", __entry->name,
76+
TP_printk("%s: latency %lluus", __entry->name,
7777
(unsigned long long) __entry->lat)
7878
);
7979

@@ -115,7 +115,7 @@ TRACE_EVENT(wbt_step,
115115
__entry->max = max;
116116
),
117117

118-
TP_printk("%s: %s: step=%d, window=%luus, background=%u, normal=%u, max=%u\n",
118+
TP_printk("%s: %s: step=%d, window=%luus, background=%u, normal=%u, max=%u",
119119
__entry->name, __entry->msg, __entry->step, __entry->window,
120120
__entry->bg, __entry->normal, __entry->max)
121121
);
@@ -148,7 +148,7 @@ TRACE_EVENT(wbt_timer,
148148
__entry->inflight = inflight;
149149
),
150150

151-
TP_printk("%s: status=%u, step=%d, inflight=%u\n", __entry->name,
151+
TP_printk("%s: status=%u, step=%d, inflight=%u", __entry->name,
152152
__entry->status, __entry->step, __entry->inflight)
153153
);
154154

0 commit comments

Comments
 (0)