From: Eric Anholt Subject: Re: [PATCH 1/1] drm/i915: track pid of GEM object creators Date: Fri, 03 Feb 2012 10:57:38 +0100 Message-ID: <87bopg44tp.fsf@eliezer.anholt.net> References: <1328201542-1530-1-git-send-email-eugeni.dodonov@intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0155262489==" Return-path: In-Reply-To: <1328201542-1530-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: intel-gfx@lists.freedesktop.org Cc: Eugeni Dodonov List-Id: intel-gfx@lists.freedesktop.org --===============0155262489== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Thu, 2 Feb 2012 14:52:22 -0200, Eugeni Dodonov wrote: > This allows to hopefully find out who was responsible for the GPU death. >=20 > To simplify post-portem analysis, we also search for the the processes > names when gathering the i915_error_state and when peeking at the list of > active gem objects in debugfs. I think just recording pid at create as opposed to the last exec would be fine -- my DRI2 buffers are charged to the X Server, my 3D client buffers are always charged to it, and batchbuffers are always the client that execced it because they're not shared. I've definitely wanted this in the debug info, and written a hack like this (but worse) before. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk8rr5IACgkQHUdvYGzw6vdhOACbBPAIOnuouW0Xmm/Kwd8Kzul/ 0vcAoJwVhg9PPxs2S0Yk9p9yx7sXOFUv =TGL9 -----END PGP SIGNATURE----- --=-=-=-- --===============0155262489== 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 --===============0155262489==--