summaryrefslogtreecommitdiff
path: root/lib/igt_debugfs.h
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2015-09-23 16:52:24 +0100
committerThomas Wood <thomas.wood@intel.com>2015-09-24 14:24:18 +0100
commit6c89204da77a721c9f6c2c77908ca9502a246df8 (patch)
treeb189c79537dc5376639c94ae5cdade48c314963d /lib/igt_debugfs.h
parent1ea96af776a853303240fe6ec414aeed3316c24b (diff)
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 <thomas.wood@intel.com>
Diffstat (limited to 'lib/igt_debugfs.h')
-rw-r--r--lib/igt_debugfs.h1
1 files changed, 1 insertions, 0 deletions
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: