• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef _LINUX_KCOV_IOCTLS_H
7 #define _LINUX_KCOV_IOCTLS_H
8 #include <linux/types.h>
9 #define KCOV_INIT_TRACE			_IOR('c', 1, unsigned long)
10 #define KCOV_ENABLE			_IO('c', 100)
11 #define KCOV_DISABLE			_IO('c', 101)
12 enum {
13 
14 	KCOV_TRACE_PC = 0,
15 
16 	KCOV_TRACE_CMP = 1,
17 };
18 #define KCOV_CMP_CONST          (1 << 0)
19 #define KCOV_CMP_SIZE(n)        ((n) << 1)
20 #define KCOV_CMP_MASK           KCOV_CMP_SIZE(3)
21 #endif
22