Message ID | 20190827211016.18070-1-robdclark@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | b721ea48d71b67c0bded2d0d4574807ff10d30f6 |
Headers | show |
Series | drm/msm/dpu: remove stray "\n" | expand |
On Tue, Aug 27, 2019 at 02:10:09PM -0700, Rob Clark wrote: > From: Rob Clark <robdclark@chromium.org> > > The extra line-break in traces was annoying me. > > Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Sean Paul <sean@poorly.run> > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h > index 765484437d11..eecfe9b3199e 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h > +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h > @@ -392,7 +392,7 @@ TRACE_EVENT(dpu_enc_rc, > __entry->rc_state = rc_state; > __assign_str(stage_str, stage); > ), > - TP_printk("%s: id:%u, sw_event:%d, idle_pc_supported:%s, rc_state:%d\n", > + TP_printk("%s: id:%u, sw_event:%d, idle_pc_supported:%s, rc_state:%d", > __get_str(stage_str), __entry->drm_id, __entry->sw_event, > __entry->idle_pc_supported ? "true" : "false", > __entry->rc_state) > -- > 2.21.0 >
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h index 765484437d11..eecfe9b3199e 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h @@ -392,7 +392,7 @@ TRACE_EVENT(dpu_enc_rc, __entry->rc_state = rc_state; __assign_str(stage_str, stage); ), - TP_printk("%s: id:%u, sw_event:%d, idle_pc_supported:%s, rc_state:%d\n", + TP_printk("%s: id:%u, sw_event:%d, idle_pc_supported:%s, rc_state:%d", __get_str(stage_str), __entry->drm_id, __entry->sw_event, __entry->idle_pc_supported ? "true" : "false", __entry->rc_state)