public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [RFC 0/2] strace/drm: Add i915 ioctls to strace
@ 2015-05-06 14:48 Patrik Jakobsson
  2015-05-06 14:48 ` [RFC 1/2] strace/drm: Print extended info for drm and i915 ioctls Patrik Jakobsson
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Patrik Jakobsson @ 2015-05-06 14:48 UTC (permalink / raw)
  To: strace-devel; +Cc: intel-gfx

This patch set aims to make strace more useful when tracing i915 ioctls.
The ioctl type is first checked for being drm and then the driver
backing the opened device is identified by looking at sysfs. Other
drivers than i915 can easily be added.

Only a subset of the i915 ioctls are included. I will extend this patch
set if the approach looks ok. The generic drm ioctls are also missing.

Give it a spin with:
        strace -e trace=ioctl -p `pidof X`

Patrik Jakobsson (2):
  strace/drm: Print extended info for drm and i915 ioctls
  strace/drm: Print args for most common i915 ioctls

 Makefile.am                |   2 +
 defs.h                     |   2 +
 drm.c                      | 104 +++++++++++++++++
 drm_i915.c                 | 278 +++++++++++++++++++++++++++++++++++++++++++++
 ioctl.c                    |   5 +
 xlat/drm_i915_getparams.in |  28 +++++
 xlat/drm_i915_ioctls.in    |  51 +++++++++
 xlat/drm_i915_setparams.in |   4 +
 8 files changed, 474 insertions(+)
 create mode 100644 drm.c
 create mode 100644 drm_i915.c
 create mode 100644 xlat/drm_i915_getparams.in
 create mode 100644 xlat/drm_i915_ioctls.in
 create mode 100644 xlat/drm_i915_setparams.in

-- 
2.1.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-05-19  8:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-06 14:48 [RFC 0/2] strace/drm: Add i915 ioctls to strace Patrik Jakobsson
2015-05-06 14:48 ` [RFC 1/2] strace/drm: Print extended info for drm and i915 ioctls Patrik Jakobsson
     [not found] ` <1430923683-17741-1-git-send-email-patrik.jakobsson-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-05-06 14:48   ` [RFC 2/2] strace/drm: Print args for most common " Patrik Jakobsson
2015-05-07 15:37 ` [RFC 0/2] strace/drm: Add i915 ioctls to strace Jesse Barnes
2015-05-11  9:05   ` Patrik Jakobsson
2015-05-11 10:50 ` Gabriel Laskar
2015-05-11 13:54   ` [Intel-gfx] " Patrik Jakobsson
2015-05-11 18:08     ` Gabriel Laskar
2015-05-12 12:35       ` Patrik Jakobsson
2015-05-12 17:37         ` [Intel-gfx] " Gabriel Laskar
     [not found]           ` <20150512193759.09bb505b-krIL5v34lyW+8jMViQwUxmazZaUMDOZU@public.gmane.org>
2015-05-12 22:10             ` Dmitry V. Levin
2015-05-19  8:03               ` Patrik Jakobsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox