Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #undef TRACE_SYSTEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define TRACE_SYSTEM block
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #define TRACE_INCLUDE_PATH trace/hooks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #if !defined(_TRACE_HOOK_BLOCK_H) || defined(TRACE_HEADER_MULTI_READ)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #define _TRACE_HOOK_BLOCK_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #include <linux/tracepoint.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #include <trace/hooks/vendor_hooks.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #ifdef __GENKSYMS__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) struct blk_mq_tags;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) struct blk_mq_alloc_data;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) struct blk_mq_tag_set;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) /* struct blk_mq_tags */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #include <../block/blk-mq-tag.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) /* struct blk_mq_alloc_data */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #include <../block/blk-mq.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) /* struct blk_mq_tag_set */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #include <linux/blk-mq.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #endif /* __GENKSYMS__ */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) DECLARE_HOOK(android_vh_blk_alloc_rqs,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 	TP_PROTO(size_t *rq_size, struct blk_mq_tag_set *set,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 		struct blk_mq_tags *tags),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 	TP_ARGS(rq_size, set, tags));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) DECLARE_HOOK(android_vh_blk_rq_ctx_init,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 	TP_PROTO(struct request *rq, struct blk_mq_tags *tags,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 		struct blk_mq_alloc_data *data, u64 alloc_time_ns),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	TP_ARGS(rq, tags, data, alloc_time_ns));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) #endif /* _TRACE_HOOK_BLOCK_H */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) /* This part must be outside protection */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) #include <trace/define_trace.h>