0001
0002
0003
0004
0005
0006 #ifndef _KUNIT_DEBUGFS_H
0007 #define _KUNIT_DEBUGFS_H
0008
0009 #include <kunit/test.h>
0010
0011 #ifdef CONFIG_KUNIT_DEBUGFS
0012
0013 void kunit_debugfs_create_suite(struct kunit_suite *suite);
0014 void kunit_debugfs_destroy_suite(struct kunit_suite *suite);
0015 void kunit_debugfs_init(void);
0016 void kunit_debugfs_cleanup(void);
0017
0018 #else
0019
0020 static inline void kunit_debugfs_create_suite(struct kunit_suite *suite) { }
0021
0022 static inline void kunit_debugfs_destroy_suite(struct kunit_suite *suite) { }
0023
0024 static inline void kunit_debugfs_init(void) { }
0025
0026 static inline void kunit_debugfs_cleanup(void) { }
0027
0028 #endif
0029
0030 #endif