• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // SPDX-License-Identifier: GPL-2.0-only
2 /* vendor_hook.c
3  *
4  * Copyright 2022 Google LLC
5  */
6 #include "blk.h"
7 #include "blk-mq-tag.h"
8 #include "blk-mq.h"
9 #include <linux/blk-mq.h>
10 
11 #define CREATE_TRACE_POINTS
12 #include <trace/hooks/vendor_hooks.h>
13 #include <linux/tracepoint.h>
14 #include <trace/hooks/block.h>
15 
16 EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_blk_alloc_rqs);
17 EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_blk_rq_ctx_init);
18 
19 /*
20  * For type visibility
21  */
22 const struct blk_mq_alloc_data *GKI_struct_blk_mq_alloc_data;
23 EXPORT_SYMBOL_GPL(GKI_struct_blk_mq_alloc_data);
24 
25