#ifndef _LINUX_SCHED_XACCT_H
#define _LINUX_SCHED_XACCT_H
#include <linux/sched.h>
#ifdef CONFIG_TASK_XACCT
static inline void add_rchar(struct task_struct *tsk, ssize_t amt)
{ … }
static inline void add_wchar(struct task_struct *tsk, ssize_t amt)
{ … }
static inline void inc_syscr(struct task_struct *tsk)
{ … }
static inline void inc_syscw(struct task_struct *tsk)
{ … }
#else
static inline void add_rchar(struct task_struct *tsk, ssize_t amt)
{
}
static inline void add_wchar(struct task_struct *tsk, ssize_t amt)
{
}
static inline void inc_syscr(struct task_struct *tsk)
{
}
static inline void inc_syscw(struct task_struct *tsk)
{
}
#endif
#endif