From: Konstantin Belousov Subject: Re: [PATCH 1/1] drm/i915: track first and last processes that touch gem objects Date: Fri, 3 Feb 2012 16:53:20 +0200 Message-ID: <20120203145320.GY3283@deviant.kiev.zoral.com.ua> References: <1328280205-1509-1-git-send-email-eugeni.dodonov@intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1113634358==" Return-path: Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by gabe.freedesktop.org (Postfix) with ESMTP id 0931AA1689 for ; Fri, 3 Feb 2012 07:13:15 -0800 (PST) In-Reply-To: <1328280205-1509-1-git-send-email-eugeni.dodonov@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Eugeni Dodonov Cc: intel-gfx@lists.freedesktop.org, Ben Widawsky List-Id: intel-gfx@lists.freedesktop.org --===============1113634358== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ELMKpCVvjiB+uwRu" Content-Disposition: inline --ELMKpCVvjiB+uwRu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 03, 2012 at 12:43:25PM -0200, Eugeni Dodonov wrote: > This allows to hopefully find out who was responsible for the GPU death. > We record the 1st and last process to touch each object, to keep track of > the process which created the object originally and the last process to > touch it. >=20 > To simplify post-mortem analysis, we also search for the processes names > when gathering the i915_error_state and when peeking at the list of active > gem objects in debugfs. This is not perfect for tracking all the > processes, as they can quit or die before their batchbuffers got executed, > but having to track them during the entire object lifetime would be > excessively memcpy hungry. May be this is too stupid question, but it seems you do not track neither writers using I915_GEM_PWRITE nor writers which modified buffer with mmaped access. --ELMKpCVvjiB+uwRu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk8r9N8ACgkQC3+MBN1Mb4hvLwCgieS5HbSeJujvlIaQXAxvne9n yeIAoJJpcuO22md39LjtT7obpGWLzD0/ =v71T -----END PGP SIGNATURE----- --ELMKpCVvjiB+uwRu-- --===============1113634358== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1113634358==--