linux/include/uapi/linux/blktrace_api.h

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

#include <linux/types.h>

/*
 * Trace categories
 */
enum blktrace_cat {};

#define BLK_TC_SHIFT
#define BLK_TC_ACT(act)

/*
 * Basic trace actions
 */
enum blktrace_act {};

/*
 * Notify events.
 */
enum blktrace_notify {};


/*
 * Trace actions in full. Additionally, read or write is masked
 */
#define BLK_TA_QUEUE
#define BLK_TA_BACKMERGE
#define BLK_TA_FRONTMERGE
#define BLK_TA_GETRQ
#define BLK_TA_SLEEPRQ
#define BLK_TA_REQUEUE
#define BLK_TA_ISSUE
#define BLK_TA_COMPLETE
#define BLK_TA_PLUG
#define BLK_TA_UNPLUG_IO
#define BLK_TA_UNPLUG_TIMER
#define BLK_TA_INSERT
#define BLK_TA_SPLIT
#define BLK_TA_BOUNCE
#define BLK_TA_REMAP
#define BLK_TA_ABORT
#define BLK_TA_DRV_DATA

#define BLK_TN_PROCESS
#define BLK_TN_TIMESTAMP
#define BLK_TN_MESSAGE

#define BLK_IO_TRACE_MAGIC
#define BLK_IO_TRACE_VERSION

/*
 * The trace itself
 */
struct blk_io_trace {};

/*
 * The remap event
 */
struct blk_io_trace_remap {};

enum {};

#define BLKTRACE_BDEV_SIZE

/*
 * User setup structure passed with BLKTRACESETUP
 */
struct blk_user_trace_setup {};

#endif /* _UAPIBLKTRACE_H */