• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef TRACE_SYSTEM
3 #define TRACE_SYSTEM user
4 #undef TRACE_INCLUDE_PATH
5 #define TRACE_INCLUDE_PATH trace/hooks
6 #if !defined(_TRACE_HOOK_USER_H) || defined(TRACE_HEADER_MULTI_READ)
7 #define _TRACE_HOOK_USER_H
8 #include <trace/hooks/vendor_hooks.h>
9 
10 struct user_struct;
11 DECLARE_HOOK(android_vh_alloc_uid,
12 	TP_PROTO(struct user_struct *user),
13 	TP_ARGS(user));
14 
15 DECLARE_HOOK(android_vh_free_user,
16 	TP_PROTO(struct user_struct *up),
17 	TP_ARGS(up));
18 
19 #endif /* _TRACE_HOOK_USER_H */
20 /* This part must be outside protection */
21 #include <trace/define_trace.h>
22 
23