Skip to content

drm: trace: Introduce drm_trace() and instrument drm_atomic.c

Sean Paul dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm: trace: Make the vblank queued/delivered events classeddrivers/gpu/drm/drm_trace.h+9 -180 replies
2/6drm: trace: Introduce drm_trace() and trace event classesDocumentation/gpu/drm-internals.rst drivers/gpu/drm/drm_trace.h drivers/gpu/drm/drm_vblank.c+114 -120 replies
3/6drm: trace: Add trace events for atomic state lifetimedrivers/gpu/drm/drm_atomic.c drivers/gpu/drm/drm_trace.h+98 -50 replies
4/6drm: trace: Add crtc state trace eventsdrivers/gpu/drm/drm_atomic.c drivers/gpu/drm/drm_trace.h+123 -00 replies
5/6drm: trace: Add connector state tracingdrivers/gpu/drm/drm_atomic.c drivers/gpu/drm/drm_trace.h+112 -10 replies
6/6drm: trace: Add plane state tracingdrivers/gpu/drm/drm_atomic.c drivers/gpu/drm/drm_trace.h+158 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] drm: trace: Introduce drm_trace() and instrument drm_atomic.c

From: Sean Paul <[email protected]>

Hey all,
I'm back with another trace events patchset. My first attempt [1] went better than expected, with enthusiasm for the idea and distain for the implementation.

As promised, I went through and added proper trace events.

Before I get _too_ far, I wanted to post this set to get feedback on the direction I'm going. I've gone back and forth on whether to introduce a bunch of trace systems vs using the trace class enum. I've settled on the trace class enum since it seems more extensible and easier to use in production that just having the blunt "enable this system", or the tedious "enable each event I'm interested in individually" methods.

So, consider this one an RFC unless we're all in agreement, in which case we should apply it :)

Sean

[1]- https://patchwork.freedesktop.org/patch/335350/

Sean Paul (6):
drm: trace: Make the vblank queued/delivered events classed
drm: trace: Introduce drm_trace() and trace event classes
drm: trace: Add trace events for atomic state lifetime
drm: trace: Add crtc state trace events
drm: trace: Add connector state tracing
drm: trace: Add plane state tracing

 Documentation/gpu/drm-internals.rst |   9 +
 drivers/gpu/drm/drm_atomic.c        |  61 ++-
 drivers/gpu/drm/drm_trace.h         | 563 ++++++++++++++++++++++++++--
 drivers/gpu/drm/drm_vblank.c        |   8 +-
 4 files changed, 609 insertions(+), 32 deletions(-)
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel