cregit-Linux how code gets into the kernel

Release 4.7 include/linux/taskstats_kern.h

Directory: include/linux
/* taskstats_kern.h - kernel header for per-task statistics interface
 *
 * Copyright (C) Shailabh Nagar, IBM Corp. 2006
 *           (C) Balbir Singh,   IBM Corp. 2006
 */

#ifndef _LINUX_TASKSTATS_KERN_H

#define _LINUX_TASKSTATS_KERN_H

#include <linux/taskstats.h>
#include <linux/sched.h>
#include <linux/slab.h>

#ifdef CONFIG_TASKSTATS
extern struct kmem_cache *taskstats_cache;
extern struct mutex taskstats_exit_mutex;


static inline void taskstats_tgid_free(struct signal_struct *sig) { if (sig->stats) kmem_cache_free(taskstats_cache, sig->stats); }

Contributors

PersonTokensPropCommitsCommitProp
shailabh nagarshailabh nagar2592.59%266.67%
oleg nesterovoleg nesterov27.41%133.33%
Total27100.00%3100.00%

extern void taskstats_exit(struct task_struct *, int group_dead); extern void taskstats_init_early(void); #else
static inline void taskstats_exit(struct task_struct *tsk, int group_dead) {}

Contributors

PersonTokensPropCommitsCommitProp
shailabh nagarshailabh nagar1392.86%266.67%
oleg nesterovoleg nesterov17.14%133.33%
Total14100.00%3100.00%


static inline void taskstats_tgid_free(struct signal_struct *sig) {}

Contributors

PersonTokensPropCommitsCommitProp
shailabh nagarshailabh nagar11100.00%2100.00%
Total11100.00%2100.00%


static inline void taskstats_init_early(void) {}

Contributors

PersonTokensPropCommitsCommitProp
shailabh nagarshailabh nagar8100.00%1100.00%
Total8100.00%1100.00%

#endif /* CONFIG_TASKSTATS */ #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
shailabh nagarshailabh nagar10691.38%450.00%
oleg nesterovoleg nesterov54.31%225.00%
tejun heotejun heo32.59%112.50%
christoph lameterchristoph lameter21.72%112.50%
Total116100.00%8100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}