aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/taskstats.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/uapi/linux/taskstats.h b/include/uapi/linux/taskstats.h
index b7aa7bb2349f..5e8ca16a9079 100644
--- a/include/uapi/linux/taskstats.h
+++ b/include/uapi/linux/taskstats.h
@@ -34,7 +34,7 @@
34 */ 34 */
35 35
36 36
37#define TASKSTATS_VERSION 8 37#define TASKSTATS_VERSION 9
38#define TS_COMM_LEN 32 /* should be >= TASK_COMM_LEN 38#define TS_COMM_LEN 32 /* should be >= TASK_COMM_LEN
39 * in linux/sched.h */ 39 * in linux/sched.h */
40 40
@@ -164,6 +164,10 @@ struct taskstats {
164 /* Delay waiting for memory reclaim */ 164 /* Delay waiting for memory reclaim */
165 __u64 freepages_count; 165 __u64 freepages_count;
166 __u64 freepages_delay_total; 166 __u64 freepages_delay_total;
167
168 /* Delay waiting for thrashing page */
169 __u64 thrashing_count;
170 __u64 thrashing_delay_total;
167}; 171};
168 172
169 173