mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
drm: add per-event vblank event trace points
Allows us to track each process that requests and completes events. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
ac2874b980
commit
b9c2c9ae88
3 changed files with 53 additions and 14 deletions
|
|
@ -403,6 +403,8 @@ struct drm_pending_event {
|
|||
struct drm_event *event;
|
||||
struct list_head link;
|
||||
struct drm_file *file_priv;
|
||||
pid_t pid; /* pid of requester, no guarantee it's valid by the time
|
||||
we deliver the event, for tracing only */
|
||||
void (*destroy)(struct drm_pending_event *event);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue