LCOV - code coverage report
Current view: top level - include/linux - rodata_test.h (source / functions) Hit Total Coverage
Test: landlock.info Lines: 1 1 100.0 %
Date: 2021-04-22 12:43:58 Functions: 0 0 -

          Line data    Source code
       1             : /* SPDX-License-Identifier: GPL-2.0-only */
       2             : /*
       3             :  * rodata_test.h: functional test for mark_rodata_ro function
       4             :  *
       5             :  * (C) Copyright 2008 Intel Corporation
       6             :  * Author: Arjan van de Ven <arjan@linux.intel.com>
       7             :  */
       8             : 
       9             : #ifndef _RODATA_TEST_H
      10             : #define _RODATA_TEST_H
      11             : 
      12             : #ifdef CONFIG_DEBUG_RODATA_TEST
      13             : void rodata_test(void);
      14             : #else
      15           1 : static inline void rodata_test(void) {}
      16             : #endif
      17             : 
      18             : #endif /* _RODATA_TEST_H */

Generated by: LCOV version 1.14