.. | .. |
---|
34 | 34 | */ |
---|
35 | 35 | |
---|
36 | 36 | |
---|
37 | | -#define TASKSTATS_VERSION 9 |
---|
| 37 | +#define TASKSTATS_VERSION 10 |
---|
38 | 38 | #define TS_COMM_LEN 32 /* should be >= TASK_COMM_LEN |
---|
39 | 39 | * in linux/sched.h */ |
---|
40 | 40 | |
---|
.. | .. |
---|
112 | 112 | __u32 ac_gid; /* Group ID */ |
---|
113 | 113 | __u32 ac_pid; /* Process ID */ |
---|
114 | 114 | __u32 ac_ppid; /* Parent process ID */ |
---|
| 115 | + /* __u32 range means times from 1970 to 2106 */ |
---|
115 | 116 | __u32 ac_btime; /* Begin time [sec since 1970] */ |
---|
116 | 117 | __u64 ac_etime __attribute__((aligned(8))); |
---|
117 | 118 | /* Elapsed time [usec] */ |
---|
.. | .. |
---|
168 | 169 | /* Delay waiting for thrashing page */ |
---|
169 | 170 | __u64 thrashing_count; |
---|
170 | 171 | __u64 thrashing_delay_total; |
---|
| 172 | + |
---|
| 173 | + /* v10: 64-bit btime to avoid overflow */ |
---|
| 174 | + __u64 ac_btime64; /* 64-bit begin time */ |
---|
171 | 175 | }; |
---|
172 | 176 | |
---|
173 | 177 | |
---|