blob: 7e8196a021182c4682e0024e181da5c3ea73ff91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/*
* 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 taskstats *stats, struct task_struct *tsk);
#else
static inline void bacct_add_tsk(struct taskstats *stats, struct task_struct *tsk)
{}
#endif /* CONFIG_TASKSTATS */
#endif
|