/* SPDX-License-Identifier: GPL-2.0 */ #undef TRACE_SYSTEM #define TRACE_SYSTEM blk #undef TRACE_INCLUDE_PATH #define TRACE_INCLUDE_PATH trace/hooks #if !defined(_TRACE_HOOK_BLK_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_HOOK_BLK_H #include struct block_device; struct gendisk; DECLARE_HOOK(android_vh_bd_link_disk_holder, TP_PROTO(struct block_device *bdev, struct gendisk *disk), TP_ARGS(bdev, disk)); DECLARE_HOOK(android_vh_blk_fill_rwbs, TP_PROTO(char *rwbs, unsigned int opf), TP_ARGS(rwbs, opf)); struct path; struct vfsmount; DECLARE_HOOK(android_vh_do_new_mount_fc, TP_PROTO(struct path *mountpoint, struct vfsmount *mnt), TP_ARGS(mountpoint, mnt)); struct readahead_control; typedef __u32 __bitwise blk_opf_t; DECLARE_HOOK(android_vh_f2fs_ra_op_flags, TP_PROTO(blk_opf_t *op_flag, struct readahead_control *rac), TP_ARGS(op_flag, rac)); #endif /* _TRACE_HOOK_BLK_H */ /* This part must be outside protection */ #include