repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
31 lines
722 B
C
31 lines
722 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2020, Oracle and/or its affiliates.
|
|
*/
|
|
|
|
#ifndef _KUNIT_DEBUGFS_H
|
|
#define _KUNIT_DEBUGFS_H
|
|
|
|
#include <kunit/test.h>
|
|
|
|
#ifdef CONFIG_KUNIT_DEBUGFS
|
|
|
|
void kunit_debugfs_create_suite(struct kunit_suite *suite);
|
|
void kunit_debugfs_destroy_suite(struct kunit_suite *suite);
|
|
void kunit_debugfs_init(void);
|
|
void kunit_debugfs_cleanup(void);
|
|
|
|
#else
|
|
|
|
static inline void kunit_debugfs_create_suite(struct kunit_suite *suite) { }
|
|
|
|
static inline void kunit_debugfs_destroy_suite(struct kunit_suite *suite) { }
|
|
|
|
static inline void kunit_debugfs_init(void) { }
|
|
|
|
static inline void kunit_debugfs_cleanup(void) { }
|
|
|
|
#endif /* CONFIG_KUNIT_DEBUGFS */
|
|
|
|
#endif /* _KUNIT_DEBUGFS_H */
|