Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #undef TRACE_SYSTEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define TRACE_SYSTEM cgroup
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) #undef TRACE_INCLUDE_PATH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #define TRACE_INCLUDE_PATH trace/hooks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #if !defined(_TRACE_HOOK_CGROUP_H) || defined(TRACE_HEADER_MULTI_READ)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #define _TRACE_HOOK_CGROUP_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #include <linux/tracepoint.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #include <trace/hooks/vendor_hooks.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) struct cgroup_taskset;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #ifdef __GENKSYMS__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) struct cgroup_subsys;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) struct task_struct;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) /* struct cgroup_subsys */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #include <linux/cgroup-defs.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) /* struct task_struct */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #include <linux/sched.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #endif /* __GENKSYMS__ */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) DECLARE_HOOK(android_vh_cgroup_set_task,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	TP_PROTO(int ret, struct task_struct *task),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	TP_ARGS(ret, task));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) DECLARE_RESTRICTED_HOOK(android_rvh_cpuset_fork,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	TP_PROTO(struct task_struct *p, int *inherit_cpus),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	TP_ARGS(p, inherit_cpus), 1);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) DECLARE_RESTRICTED_HOOK(android_rvh_cgroup_force_kthread_migration,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 	TP_PROTO(struct task_struct *tsk, struct cgroup *dst_cgrp, bool *force_migration),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 	TP_ARGS(tsk, dst_cgrp, force_migration), 1);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) DECLARE_RESTRICTED_HOOK(android_rvh_refrigerator,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 	TP_PROTO(bool f),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 	TP_ARGS(f), 1);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) DECLARE_HOOK(android_vh_cgroup_attach,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 	TP_PROTO(struct cgroup_subsys *ss, struct cgroup_taskset *tset),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 	TP_ARGS(ss, tset))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) #include <trace/define_trace.h>