linux/include/uapi/linux/kcov.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _LINUX_KCOV_IOCTLS_H
#define _LINUX_KCOV_IOCTLS_H

#include <linux/types.h>

/*
 * Argument for KCOV_REMOTE_ENABLE ioctl, see Documentation/dev-tools/kcov.rst
 * and the comment before kcov_remote_start() for usage details.
 */
struct kcov_remote_arg {};

#define KCOV_REMOTE_MAX_HANDLES

#define KCOV_INIT_TRACE
#define KCOV_ENABLE
#define KCOV_DISABLE
#define KCOV_REMOTE_ENABLE

enum {};

/*
 * The format for the types of collected comparisons.
 *
 * Bit 0 shows whether one of the arguments is a compile-time constant.
 * Bits 1 & 2 contain log2 of the argument size, up to 8 bytes.
 */
#define KCOV_CMP_CONST
#define KCOV_CMP_SIZE(n)
#define KCOV_CMP_MASK

#define KCOV_SUBSYSTEM_COMMON
#define KCOV_SUBSYSTEM_USB

#define KCOV_SUBSYSTEM_MASK
#define KCOV_INSTANCE_MASK

static inline __u64 kcov_remote_handle(__u64 subsys, __u64 inst)
{}

#endif /* _LINUX_KCOV_IOCTLS_H */