[Piglit] add kernel message logging?

Dave Airlie airlied at gmail.com
Tue Aug 31 18:07:18 PDT 2010

On Wed, Sep 1, 2010 at 10:55 AM, Eric Anholt <eric at anholt.net> wrote:
> On Tue, 31 Aug 2010 16:10:09 +0200, Michal Suchanek <hramrach at centrum.cz> wrote:
>> Hello
>> I was thinking that it would be nice if the results also logged kernel
>> messages genereated by the tests.
>> Since the piglit tests often crash or lock up the GPU and this is
>> reported by the kernel it would add more useful information into the
>> logs.
>> It should be quite easy to compare the dmesg output before and after the test.
>> I don't know python so it would be quite difficult for me to add to
>> the test runner, unfortunately.
> Yuck, then when I roam wireless networks I'll get the wireless driver's
> spam logged in my test run?  Or are you going to filter it according to
> some criteria?

Even then, unless the kernel crash happens inline with the test its
hard to know if its the test that caused it.

It could be something else on the desktop etc.

At least for r600 we get a reset if we do something bad, but generally
the test also hangs pretty badly.


More information about the Piglit mailing list