1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #undef TRACE_SYSTEM 3 #define TRACE_SYSTEM regmap 4 #undef TRACE_INCLUDE_PATH 5 #define TRACE_INCLUDE_PATH trace/hooks 6 7 #if !defined(_TRACE_HOOK_REGMAP_H) || defined(TRACE_HEADER_MULTI_READ) 8 #define _TRACE_HOOK_REGMAP_H 9 #include <trace/hooks/vendor_hooks.h> 10 11 struct regmap; 12 struct regmap_config; 13 14 /* 15 * Following tracepoints are not exported in tracefs and provide a 16 * mechanism for vendor modules to hook and extend functionality 17 */ 18 DECLARE_HOOK(android_vh_regmap_update, 19 TP_PROTO(const struct regmap_config *config, struct regmap *map), 20 TP_ARGS(config, map)); 21 22 #endif /* _TRACE_HOOK_REGMAP_H */ 23 /* This part must be outside protection */ 24 #include <trace/define_trace.h> 25