cregit-Linux how code gets into the kernel

Release 4.12 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 Lan1661.54%150.00%
Eric W. Biedermann1038.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 Lan16100.00%1100.00%
Total16100.00%1100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
Jay Lan11100.00%1100.00%
Total11100.00%1100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
Frédéric Weisbecker11100.00%1100.00%
Total11100.00%1100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
Jay Lan11100.00%1100.00%
Total11100.00%1100.00%

#endif /* CONFIG_TASK_XACCT */ #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Jay Lan13276.30%360.00%
Frédéric Weisbecker2112.14%120.00%
Eric W. Biedermann2011.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.
Created with cregit.