UNISOC's solution allows more requests to be issued to improve read and write performance, so vendor hooks are added to support this function. Bug: 229920089 Signed-off-by: Wenchao Chen <wenchao.chen@unisoc.com> Change-Id: Ic9423b651884111d286646d0d66a033fce3b44d7
22 lines
673 B
C
22 lines
673 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#undef TRACE_SYSTEM
|
|
#define TRACE_SYSTEM mmc
|
|
#undef TRACE_INCLUDE_PATH
|
|
#define TRACE_INCLUDE_PATH trace/hooks
|
|
#if !defined(_TRACE_HOOK_MMC_H) || defined(TRACE_HEADER_MULTI_READ)
|
|
#define _TRACE_HOOK_MMC_H
|
|
#include <trace/hooks/vendor_hooks.h>
|
|
struct blk_mq_queue_data;
|
|
|
|
/*
|
|
* Following tracepoints are not exported in tracefs and provide a
|
|
* mechanism for vendor modules to hook and extend functionality
|
|
*/
|
|
DECLARE_HOOK(android_vh_mmc_check_status,
|
|
TP_PROTO(const struct blk_mq_queue_data *bd, int *ret),
|
|
TP_ARGS(bd, ret));
|
|
|
|
#endif /* _TRACE_HOOK_MMC_H */
|
|
/* This part must be outside protection */
|
|
#include <trace/define_trace.h>
|