cregit-Linux how code gets into the kernel

Release 4.7 include/linux/tsacct_kern.h

Directory: include/linux
/*
 * 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
extern void bacct_add_tsk(struct user_namespace *user_ns,
			  struct pid_namespace *pid_ns,
			  struct taskstats *stats, struct task_struct *tsk);
#else

static inline void bacct_add_tsk(struct user_namespace *user_ns, struct pid_namespace *pid_ns, struct taskstats *stats, struct task_struct *tsk) {}

Contributors

PersonTokensPropCommitsCommitProp
jay lanjay lan1661.54%150.00%
eric w. biedermaneric w. biederman1038.46%150.00%
Total26100.00%2100.00%

#endif /* CONFIG_TASKSTATS */ #ifdef CONFIG_TASK_XACCT extern void xacct_add_tsk(struct taskstats *stats, struct task_struct *p); extern void acct_update_integrals(struct task_struct *tsk); extern void acct_account_cputime(struct task_struct *tsk); extern void acct_clear_integrals(struct task_struct *tsk); #else
static inline void xacct_add_tsk(struct taskstats *stats, struct task_struct *p) {}

Contributors

PersonTokensPropCommitsCommitProp
jay lanjay lan16100.00%1100.00%
Total16100.00%1100.00%


static inline void acct_update_integrals(struct task_struct *tsk) {}

Contributors

PersonTokensPropCommitsCommitProp
jay lanjay lan11100.00%1100.00%
Total11100.00%1100.00%


static inline void acct_account_cputime(struct task_struct *tsk) {}

Contributors

PersonTokensPropCommitsCommitProp
frederic weisbeckerfrederic weisbecker11100.00%1100.00%
Total11100.00%1100.00%


static inline void acct_clear_integrals(struct task_struct *tsk) {}

Contributors

PersonTokensPropCommitsCommitProp
jay lanjay lan11100.00%1100.00%
Total11100.00%1100.00%

#endif /* CONFIG_TASK_XACCT */ #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
jay lanjay lan13276.30%360.00%
frederic weisbeckerfrederic weisbecker2112.14%120.00%
eric w. biedermaneric w. biederman2011.56%120.00%
Total173100.00%5100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}