From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Anholt Subject: Re: [PATCH] drm: Print the pid when debug logging an ioctl error. Date: Sun, 11 Feb 2018 10:07:00 +0000 Message-ID: <87d11bsuuz.fsf@anholt.net> References: <20180130215643.11016-1-eric@anholt.net> <20180131080728.GV25930@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1409464127==" Return-path: Received: from anholt.net (anholt.net [50.246.234.109]) by gabe.freedesktop.org (Postfix) with ESMTP id 1F9E789B95 for ; Sun, 11 Feb 2018 10:08:59 +0000 (UTC) In-Reply-To: <20180131080728.GV25930@phenom.ffwll.local> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Daniel Vetter Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1409464127== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Daniel Vetter writes: > On Tue, Jan 30, 2018 at 01:56:43PM -0800, Eric Anholt wrote: >> When we debug print what ioctl we're calling into, we include the pid. >> If you have multiple processes rendering simulataneously, the error >> return also needs the pid so you can see which of the ioctl calls was >> the one to fail. >>=20 >> Signed-off-by: Eric Anholt > > Reviewed-by: Daniel Vetter Pushed. Thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlqAFcQACgkQtdYpNtH8 nuijLhAAmHi1fNv5rbat15UnIcRUgqo0ZwafHlOxoFOd89z8lK1oH3CZieRxjigO o/kszrnK4hlD9jLfJT/tN084On/+/87oRmYRtX7hjaw3EJhIlkzCHM2PZJOphGNK U5VcWArEqKK+Lu5d18BAJm3vW8gyIipAqJU2/FPe8wwpuJTvzjqbKpCrO8IPKuGS Pf4WRRGI1mmYSr+uz4exzIEUN+sDn8Ub0u408b8SZuxr51ooYVNWJhd3XmyaoXtI NNzejxMES+JopthotsRvos6hIX9ZCpUcLurx0oB0GXDGuex65YkUf4/H2QFVGIk8 f1MTi6S9L4JlKcF1n7xDSKR0sfdHFtGGal/ODGn+BOQDL0ZE8QtCjDGbfmmLf990 hTISud384Y+x0FZTB9jnfiRIv9ROvdlE2hLHv6ygC/raN/wtyHbY3Znbi3NosvfY tU0oBNdt3gJ5Zx6uxeu8t2HV7MnGfF4G7nWWGbHhZPNQ4dDonVZ7Gu0FcLI05l6b A1QNV++NFTzQ/Bf0rXjanUdpxQX3v9olezM/aHTnWZK+DHbnBVmnA8hHwuYSA7Mj +XcXlsCMUHp8+3bGOH7AzTF+rQHQ+RYbC9EHxu3j+a6hHttCn1sckAi/03OZgtAu VfYpBeokKkpqsdKxuo3jigEGGOp+oZLqiSEYiE9tROP8d34q2YA= =ceub -----END PGP SIGNATURE----- --=-=-=-- --===============1409464127== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1409464127==--