Linux Kernel
3.7.1
|
#include <linux/types.h>
Go to the source code of this file.
Data Structures | |
struct | blk_io_trace |
struct | blk_io_trace_remap |
struct | blk_user_trace_setup |
Enumerations | |
enum | blktrace_cat { BLK_TC_READ = 1 << 0, BLK_TC_WRITE = 1 << 1, BLK_TC_FLUSH = 1 << 2, BLK_TC_SYNC = 1 << 3, BLK_TC_SYNCIO = BLK_TC_SYNC, BLK_TC_QUEUE = 1 << 4, BLK_TC_REQUEUE = 1 << 5, BLK_TC_ISSUE = 1 << 6, BLK_TC_COMPLETE = 1 << 7, BLK_TC_FS = 1 << 8, BLK_TC_PC = 1 << 9, BLK_TC_NOTIFY = 1 << 10, BLK_TC_AHEAD = 1 << 11, BLK_TC_META = 1 << 12, BLK_TC_DISCARD = 1 << 13, BLK_TC_DRV_DATA = 1 << 14, BLK_TC_FUA = 1 << 15, BLK_TC_END = 1 << 15 } |
enum | blktrace_act { __BLK_TA_QUEUE = 1, __BLK_TA_BACKMERGE, __BLK_TA_FRONTMERGE, __BLK_TA_GETRQ, __BLK_TA_SLEEPRQ, __BLK_TA_REQUEUE, __BLK_TA_ISSUE, __BLK_TA_COMPLETE, __BLK_TA_PLUG, __BLK_TA_UNPLUG_IO, __BLK_TA_UNPLUG_TIMER, __BLK_TA_INSERT, __BLK_TA_SPLIT, __BLK_TA_BOUNCE, __BLK_TA_REMAP, __BLK_TA_ABORT, __BLK_TA_DRV_DATA } |
enum | blktrace_notify { __BLK_TN_PROCESS = 0, __BLK_TN_TIMESTAMP, __BLK_TN_MESSAGE } |
enum | { Blktrace_setup = 1, Blktrace_running, Blktrace_stopped } |
#define BLK_IO_TRACE_MAGIC 0x65617400 |
Definition at line 92 of file blktrace_api.h.
#define BLK_IO_TRACE_VERSION 0x07 |
Definition at line 93 of file blktrace_api.h.
#define BLK_TA_ABORT (__BLK_TA_ABORT | BLK_TC_ACT(BLK_TC_QUEUE)) |
Definition at line 85 of file blktrace_api.h.
#define BLK_TA_BACKMERGE (__BLK_TA_BACKMERGE | BLK_TC_ACT(BLK_TC_QUEUE)) |
Definition at line 71 of file blktrace_api.h.
#define BLK_TA_BOUNCE (__BLK_TA_BOUNCE) |
Definition at line 83 of file blktrace_api.h.
#define BLK_TA_COMPLETE (__BLK_TA_COMPLETE| BLK_TC_ACT(BLK_TC_COMPLETE)) |
Definition at line 77 of file blktrace_api.h.
#define BLK_TA_DRV_DATA (__BLK_TA_DRV_DATA | BLK_TC_ACT(BLK_TC_DRV_DATA)) |
Definition at line 86 of file blktrace_api.h.
#define BLK_TA_FRONTMERGE (__BLK_TA_FRONTMERGE | BLK_TC_ACT(BLK_TC_QUEUE)) |
Definition at line 72 of file blktrace_api.h.
#define BLK_TA_GETRQ (__BLK_TA_GETRQ | BLK_TC_ACT(BLK_TC_QUEUE)) |
Definition at line 73 of file blktrace_api.h.
#define BLK_TA_INSERT (__BLK_TA_INSERT | BLK_TC_ACT(BLK_TC_QUEUE)) |
Definition at line 81 of file blktrace_api.h.
#define BLK_TA_ISSUE (__BLK_TA_ISSUE | BLK_TC_ACT(BLK_TC_ISSUE)) |
Definition at line 76 of file blktrace_api.h.
#define BLK_TA_PLUG (__BLK_TA_PLUG | BLK_TC_ACT(BLK_TC_QUEUE)) |
Definition at line 78 of file blktrace_api.h.
#define BLK_TA_QUEUE (__BLK_TA_QUEUE | BLK_TC_ACT(BLK_TC_QUEUE)) |
Definition at line 70 of file blktrace_api.h.
#define BLK_TA_REMAP (__BLK_TA_REMAP | BLK_TC_ACT(BLK_TC_QUEUE)) |
Definition at line 84 of file blktrace_api.h.
#define BLK_TA_REQUEUE (__BLK_TA_REQUEUE | BLK_TC_ACT(BLK_TC_REQUEUE)) |
Definition at line 75 of file blktrace_api.h.
#define BLK_TA_SLEEPRQ (__BLK_TA_SLEEPRQ | BLK_TC_ACT(BLK_TC_QUEUE)) |
Definition at line 74 of file blktrace_api.h.
#define BLK_TA_SPLIT (__BLK_TA_SPLIT) |
Definition at line 82 of file blktrace_api.h.
#define BLK_TA_UNPLUG_IO (__BLK_TA_UNPLUG_IO | BLK_TC_ACT(BLK_TC_QUEUE)) |
Definition at line 79 of file blktrace_api.h.
#define BLK_TA_UNPLUG_TIMER (__BLK_TA_UNPLUG_TIMER | BLK_TC_ACT(BLK_TC_QUEUE)) |
Definition at line 80 of file blktrace_api.h.
#define BLK_TC_ACT | ( | act | ) | ((act) << BLK_TC_SHIFT) |
Definition at line 32 of file blktrace_api.h.
#define BLK_TC_SHIFT (16) |
Definition at line 31 of file blktrace_api.h.
#define BLK_TN_MESSAGE (__BLK_TN_MESSAGE | BLK_TC_ACT(BLK_TC_NOTIFY)) |
Definition at line 90 of file blktrace_api.h.
#define BLK_TN_PROCESS (__BLK_TN_PROCESS | BLK_TC_ACT(BLK_TC_NOTIFY)) |
Definition at line 88 of file blktrace_api.h.
#define BLK_TN_TIMESTAMP (__BLK_TN_TIMESTAMP | BLK_TC_ACT(BLK_TC_NOTIFY)) |
Definition at line 89 of file blktrace_api.h.
#define BLKTRACE_BDEV_SIZE 32 |
Definition at line 127 of file blktrace_api.h.
anonymous enum |
Definition at line 121 of file blktrace_api.h.
enum blktrace_act |
Definition at line 37 of file blktrace_api.h.
enum blktrace_cat |
Definition at line 9 of file blktrace_api.h.
enum blktrace_notify |
Definition at line 60 of file blktrace_api.h.