[Intel-gfx] [PATCH i-g-t 1/3] lib/igt_aux: Export statistics of signal helper.

Chris Wilson chris at chris-wilson.co.uk
Fri Aug 4 07:50:43 UTC 2017


Quoting Maarten Lankhorst (2017-08-02 11:29:17)
> Export 2 functions, igt_signal_helper_get_num and
> igt_signal_helper_get_hz.
> 
> This will allow tests to measure how much time in a test was spent
> in a uninterruptible state, which is useful when testing whether
> certain ioctl's can be interrupted or not.

Use sig_ioctl, the purpose of that wrapper is to measure whether or not it
was interrupted. Refine it to suit your purposes, it is the surgical
scalpel compared to the shotgun of signal_helper.
-Chris


More information about the Intel-gfx mailing list