Files
android_kernel_xiaomi_sm8450/include/trace/hooks/scmi.h
Jiachiam Liu 5cf77864a3 ANDROID: arm scmi: add vendor hook to adjust the rx timeout.
Add a vendor hook in scmi transfer, to adjust the rx timeout
for performance tuning.

Bug: 189610155
Change-Id: Ic1687b3cf8568ca205f640fd97a7ce3bbfc61a36
Signed-off-by: Jiachiam Liu <jiachiam.liu@mediatek.com>
2021-06-04 21:59:37 +00:00

20 lines
513 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#undef TRACE_SYSTEM
#define TRACE_SYSTEM scmi
#undef TRACE_INCLUDE_PATH
#define TRACE_INCLUDE_PATH trace/hooks
#if !defined(_TRACE_HOOK_SCMI_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_HOOK_SCMI_H
#include <linux/tracepoint.h>
#include <trace/hooks/vendor_hooks.h>
DECLARE_HOOK(android_vh_scmi_timeout_sync,
TP_PROTO(int *timeout),
TP_ARGS(timeout));
#endif /* _TRACE_HOOK_SCMI_H */
/* This part must be outside protection */
#include <trace/define_trace.h>