Re: [RFC] drm/msm/rd: Check PT_PTRACED for cmdstream dumping

2023-12-02 Thread Dmitry Baryshkov
On 14/09/2023 20:24, Rob Clark wrote: From: Rob Clark So, when you want to get a cmdstream trace of some deqp or piglit test, but you happen to be running it on the same laptop with full desktop env, the current dump-everything firehose of `cat $debugfs/dri/n/rd` is quite a bit too much.

[RFC] drm/msm/rd: Check PT_PTRACED for cmdstream dumping

2023-09-14 Thread Rob Clark
From: Rob Clark So, when you want to get a cmdstream trace of some deqp or piglit test, but you happen to be running it on the same laptop with full desktop env, the current dump-everything firehose of `cat $debugfs/dri/n/rd` is quite a bit too much. Ptrace seemed kind of a natural way to