brintos

brintos / linux-shallow public Read only

0
0
Text · 722 B · dcc7d75 Raw
31 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2/*3 * Copyright (C) 2020, Oracle and/or its affiliates.4 */5 6#ifndef _KUNIT_DEBUGFS_H7#define _KUNIT_DEBUGFS_H8 9#include <kunit/test.h>10 11#ifdef CONFIG_KUNIT_DEBUGFS12 13void kunit_debugfs_create_suite(struct kunit_suite *suite);14void kunit_debugfs_destroy_suite(struct kunit_suite *suite);15void kunit_debugfs_init(void);16void kunit_debugfs_cleanup(void);17 18#else19 20static inline void kunit_debugfs_create_suite(struct kunit_suite *suite) { }21 22static inline void kunit_debugfs_destroy_suite(struct kunit_suite *suite) { }23 24static inline void kunit_debugfs_init(void) { }25 26static inline void kunit_debugfs_cleanup(void) { }27 28#endif /* CONFIG_KUNIT_DEBUGFS */29 30#endif /* _KUNIT_DEBUGFS_H */31