Re: [Intel-gfx] [RFC 0/2] strace/drm: Add i915 ioctls to strace

2015-05-19 Thread Patrik Jakobsson
On Wed, May 13, 2015 at 01:10:17AM +0300, Dmitry V. Levin wrote: On Tue, May 12, 2015 at 07:37:59PM +0200, Gabriel Laskar wrote: On Tue, 12 May 2015 14:35:28 +0200, Patrik Jakobsson wrote: On Mon, May 11, 2015 at 08:08:19PM +0200, Gabriel Laskar wrote: On Mon, 11 May 2015 15:54:24 +0200,

Re: [Intel-gfx] [RFC 0/2] strace/drm: Add i915 ioctls to strace

2015-05-13 Thread Dmitry V. Levin
On Tue, May 12, 2015 at 07:37:59PM +0200, Gabriel Laskar wrote: On Tue, 12 May 2015 14:35:28 +0200, Patrik Jakobsson wrote: On Mon, May 11, 2015 at 08:08:19PM +0200, Gabriel Laskar wrote: On Mon, 11 May 2015 15:54:24 +0200, Patrik Jakobsson wrote: On Mon, May 11, 2015 at 12:50:36PM

Re: [Intel-gfx] [RFC 0/2] strace/drm: Add i915 ioctls to strace

2015-05-12 Thread Gabriel Laskar
On Tue, 12 May 2015 14:35:28 +0200 Patrik Jakobsson patrik.jakobs...@linux.intel.com wrote: On Mon, May 11, 2015 at 08:08:19PM +0200, Gabriel Laskar wrote: On Mon, 11 May 2015 15:54:24 +0200 Patrik Jakobsson patrik.jakobs...@linux.intel.com wrote: On Mon, May 11, 2015 at 12:50:36PM

Re: [Intel-gfx] [RFC 0/2] strace/drm: Add i915 ioctls to strace

2015-05-12 Thread Patrik Jakobsson
On Mon, May 11, 2015 at 08:08:19PM +0200, Gabriel Laskar wrote: On Mon, 11 May 2015 15:54:24 +0200 Patrik Jakobsson patrik.jakobs...@linux.intel.com wrote: On Mon, May 11, 2015 at 12:50:36PM +0200, Gabriel Laskar wrote: On Wed, 6 May 2015 16:48:01 +0200 Patrik Jakobsson

Re: [Intel-gfx] [RFC 0/2] strace/drm: Add i915 ioctls to strace

2015-05-11 Thread Patrik Jakobsson
On Thu, May 07, 2015 at 08:37:40AM -0700, Jesse Barnes wrote: On 05/06/2015 07:48 AM, Patrik Jakobsson wrote: 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

Re: [Intel-gfx] [RFC 0/2] strace/drm: Add i915 ioctls to strace

2015-05-11 Thread Gabriel Laskar
On Wed, 6 May 2015 16:48:01 +0200 Patrik Jakobsson patrik.jakobs...@linux.intel.com wrote: 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.

Re: [Intel-gfx] [RFC 0/2] strace/drm: Add i915 ioctls to strace

2015-05-11 Thread Patrik Jakobsson
On Mon, May 11, 2015 at 12:50:36PM +0200, Gabriel Laskar wrote: On Wed, 6 May 2015 16:48:01 +0200 Patrik Jakobsson patrik.jakobs...@linux.intel.com wrote: 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

Re: [Intel-gfx] [RFC 0/2] strace/drm: Add i915 ioctls to strace

2015-05-11 Thread Gabriel Laskar
On Mon, 11 May 2015 15:54:24 +0200 Patrik Jakobsson patrik.jakobs...@linux.intel.com wrote: On Mon, May 11, 2015 at 12:50:36PM +0200, Gabriel Laskar wrote: On Wed, 6 May 2015 16:48:01 +0200 Patrik Jakobsson patrik.jakobs...@linux.intel.com wrote: This patch set aims to make strace

Re: [Intel-gfx] [RFC 0/2] strace/drm: Add i915 ioctls to strace

2015-05-07 Thread Jesse Barnes
On 05/06/2015 07:48 AM, Patrik Jakobsson wrote: 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.

[Intel-gfx] [RFC 0/2] strace/drm: Add i915 ioctls to strace

2015-05-06 Thread Patrik Jakobsson
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