From 6c89204da77a721c9f6c2c77908ca9502a246df8 Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Wed, 23 Sep 2015 16:52:24 +0100 Subject: lib: add igt_debugfs_search Add igt_debugfs_search to search each line in a debugfs file for a specified substring. Signed-off-by: Thomas Wood --- lib/igt_debugfs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/igt_debugfs.h') diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h index 78cb5e1c..ee9ff40c 100644 --- a/lib/igt_debugfs.h +++ b/lib/igt_debugfs.h @@ -35,6 +35,7 @@ int igt_debugfs_open(const char *filename, int mode); FILE *igt_debugfs_fopen(const char *filename, const char *mode); void __igt_debugfs_read(const char *filename, char *buf, int buf_size); +bool igt_debugfs_search(const char *filename, const char *substring); /** * igt_debugfs_read: -- cgit v1.2.3