kernel_platform/common (Android common kernel, android16-6.12) from opendevices.sony.net, "Open source archive for 73.1.A.2.74" (Xperia 1 VIII), unmodified. This is the kernel Sony ships, so stock-built modules (e.g. the WLAN driver, whose source is not in the archive) match it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
29 lines
833 B
C
29 lines
833 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#undef TRACE_SYSTEM
|
|
#define TRACE_SYSTEM module
|
|
|
|
#define TRACE_INCLUDE_PATH trace/hooks
|
|
#if !defined(_TRACE_HOOK_MODULE_H) || defined(TRACE_HEADER_MULTI_READ)
|
|
#define _TRACE_HOOK_MODULE_H
|
|
#include <trace/hooks/vendor_hooks.h>
|
|
/*
|
|
* Following tracepoints are not exported in tracefs and provide a
|
|
* mechanism for vendor modules to hook and extend functionality
|
|
*/
|
|
struct module;
|
|
DECLARE_HOOK(android_vh_free_mod_mem,
|
|
TP_PROTO(const struct module *mod),
|
|
TP_ARGS(mod));
|
|
|
|
DECLARE_HOOK(android_vh_set_mod_perm_after_init,
|
|
TP_PROTO(const struct module *mod),
|
|
TP_ARGS(mod));
|
|
|
|
DECLARE_HOOK(android_vh_set_mod_perm_before_init,
|
|
TP_PROTO(const struct module *mod),
|
|
TP_ARGS(mod));
|
|
|
|
#endif /* _TRACE_HOOK_MODULE_H */
|
|
/* This part must be outside protection */
|
|
#include <trace/define_trace.h>
|