diff options
Diffstat (limited to 'include/linux/taskstats.h')
-rw-r--r-- | include/linux/taskstats.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/taskstats.h b/include/linux/taskstats.h index af93a63a5092..3d2c304886b0 100644 --- a/include/linux/taskstats.h +++ b/include/linux/taskstats.h | |||
@@ -107,6 +107,17 @@ struct taskstats { | |||
107 | __u64 ac_minflt; /* Minor Page Fault */ | 107 | __u64 ac_minflt; /* Minor Page Fault */ |
108 | __u64 ac_majflt; /* Major Page Fault */ | 108 | __u64 ac_majflt; /* Major Page Fault */ |
109 | /* Basic Accounting Fields end */ | 109 | /* Basic Accounting Fields end */ |
110 | |||
111 | /* Extended accounting fields start */ | ||
112 | __u64 acct_rss_mem1; /* accumulated rss usage */ | ||
113 | __u64 acct_vm_mem1; /* accumulated virtual memory usage */ | ||
114 | __u64 hiwater_rss; /* High-watermark of RSS usage */ | ||
115 | __u64 hiwater_vm; /* High-water virtual memory usage */ | ||
116 | __u64 read_char; /* bytes read */ | ||
117 | __u64 write_char; /* bytes written */ | ||
118 | __u64 read_syscalls; /* read syscalls */ | ||
119 | __u64 write_syscalls; /* write syscalls */ | ||
120 | /* Extended accounting fields end */ | ||
110 | }; | 121 | }; |
111 | 122 | ||
112 | 123 | ||