Re: [PATCH 0/3] drm/msm: More GPU tracepoints

2020-09-02 Thread Rob Clark
The cat is somewhat out of the bag already.. so I took the approach of making the more useful of the traces for visualization (freq_change trace) identical to the i915 one in units and format, so userspace just has to add another event name to a list, and not have to add more parsing code. But the

Re: [PATCH 0/3] drm/msm: More GPU tracepoints

2020-09-01 Thread Tomeu Vizoso
Hi Rob, Do you think we could make all these generic? Visualization tools will need to do some processing so these can be neatly presented and it could be far more convenient if people wouldn't need to add code for each GPU driver. Maybe we could put all these tracepoints in DRM core as they seem

[PATCH 0/3] drm/msm: More GPU tracepoints

2020-09-01 Thread Rob Clark
From: Rob Clark Various extra tracepoints that I've been collecting. Rob Clark (3): drm/msm/gpu: Add GPU freq_change traces drm/msm: Convert shrinker msgs to tracepoints drm/msm/gpu: Add suspend/resume tracepoints drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 3 + drivers/gpu/drm/msm/adreno/