diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2021-01-07 10:37:03 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2021-01-08 13:59:02 +0000 |
commit | 532d6e84ab7fab9568dabc63a4620a257ea2fdff (patch) | |
tree | 46bb04a1c1fe58340f9c53c504d66fcb2c8014c7 /lib/meson.build | |
parent | 39768c976b920dcf0f159284bce882088aa65c50 (diff) |
lib: Process kernel taints
A small library routine to read '/proc/sys/kernel/taints' and check for
a fatal condition. This is currently used by the runner, but is also
useful for some tests.
v2,3: function docs
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Petri Latvala <petri.latvala@intel.com>
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'lib/meson.build')
-rw-r--r-- | lib/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/meson.build b/lib/meson.build index 540facb2..3abc42cb 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -27,6 +27,7 @@ lib_sources = [ 'igt_syncobj.c', 'igt_sysfs.c', 'igt_sysrq.c', + 'igt_taints.c', 'igt_thread.c', 'igt_vec.c', 'igt_vgem.c', |