Blame view
include/linux/tsacct_kern.h
1.2 KB
b24413180 License cleanup: ... |
1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
f3cef7a99 [PATCH] csa: basi... |
2 3 4 5 6 7 8 9 10 11 12 13 |
/* * tsacct_kern.h - kernel header for system accounting over taskstats interface * * Copyright (C) Jay Lan SGI */ #ifndef _LINUX_TSACCT_KERN_H #define _LINUX_TSACCT_KERN_H #include <linux/taskstats.h> #ifdef CONFIG_TASKSTATS |
4bd6e32ac userns: Convert t... |
14 15 16 |
extern void bacct_add_tsk(struct user_namespace *user_ns, struct pid_namespace *pid_ns, struct taskstats *stats, struct task_struct *tsk); |
f3cef7a99 [PATCH] csa: basi... |
17 |
#else |
4bd6e32ac userns: Convert t... |
18 19 20 |
static inline void bacct_add_tsk(struct user_namespace *user_ns, struct pid_namespace *pid_ns, struct taskstats *stats, struct task_struct *tsk) |
f3cef7a99 [PATCH] csa: basi... |
21 22 |
{} #endif /* CONFIG_TASKSTATS */ |
9acc18535 [PATCH] csa: Exte... |
23 24 |
#ifdef CONFIG_TASK_XACCT extern void xacct_add_tsk(struct taskstats *stats, struct task_struct *p); |
8f0ab5147 [PATCH] csa: conv... |
25 |
extern void acct_update_integrals(struct task_struct *tsk); |
6fac4829c cputime: Use acce... |
26 |
extern void acct_account_cputime(struct task_struct *tsk); |
8f0ab5147 [PATCH] csa: conv... |
27 |
extern void acct_clear_integrals(struct task_struct *tsk); |
9acc18535 [PATCH] csa: Exte... |
28 29 30 |
#else static inline void xacct_add_tsk(struct taskstats *stats, struct task_struct *p) {} |
8f0ab5147 [PATCH] csa: conv... |
31 32 |
static inline void acct_update_integrals(struct task_struct *tsk) {} |
6fac4829c cputime: Use acce... |
33 34 |
static inline void acct_account_cputime(struct task_struct *tsk) {} |
8f0ab5147 [PATCH] csa: conv... |
35 36 |
static inline void acct_clear_integrals(struct task_struct *tsk) {} |
9acc18535 [PATCH] csa: Exte... |
37 |
#endif /* CONFIG_TASK_XACCT */ |
f3cef7a99 [PATCH] csa: basi... |
38 |
#endif |
9acc18535 [PATCH] csa: Exte... |
39 |