cregit-Linux how code gets into the kernel

Release 4.14 include/linux/tsacct_kern.h

Directory: include/linux
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * 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 Lan13275.86%350.00%
Frédéric Weisbecker2112.07%116.67%
Eric W. Biedermann2011.49%116.67%
Greg Kroah-Hartman10.57%116.67%
Total174100.00%6100.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.