1 // SPDX-License-Identifier: GPL-2.0-only 2 /* rust_binder_events.c 3 * 4 * Rust Binder vendorhooks. 5 * 6 * Copyright 2024 Google LLC 7 */ 8 9 #include "rust_binder.h" 10 11 #define CREATE_TRACE_POINTS 12 #define CREATE_RUST_TRACE_POINTS 13 #include <trace/hooks/vendor_hooks.h> 14 #include <linux/tracepoint.h> 15 16 #include "rust_binder_hooks.h" 17 18 /* 19 * Export tracepoints that act as a bare tracehook (ie: have no trace event 20 * associated with them) to allow external modules to probe them. 21 */ 22 EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_rust_binder_set_priority); 23 EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_rust_binder_restore_priority); 24