aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/linux-headers/linux/taskstats.h
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2023-07-26 01:18:20 +0300
committerroot <root@qavm-2ed34686.qemu>2023-07-26 01:18:20 +0300
commitefba792089e8ed1cdee516e6fe39afa8ccd07570 (patch)
treefa8ff67117859064f23b758a7b333f8b2e3a0859 /contrib/libs/linux-headers/linux/taskstats.h
parent5c939e73d60a6ba835239eaad1edf65ec70c5f17 (diff)
downloadydb-efba792089e8ed1cdee516e6fe39afa8ccd07570.tar.gz
Update contrib/libs/linux-headers to 6.4.5
Diffstat (limited to 'contrib/libs/linux-headers/linux/taskstats.h')
-rw-r--r--contrib/libs/linux-headers/linux/taskstats.h34
1 files changed, 32 insertions, 2 deletions
diff --git a/contrib/libs/linux-headers/linux/taskstats.h b/contrib/libs/linux-headers/linux/taskstats.h
index ccbd087093..b50b2eb257 100644
--- a/contrib/libs/linux-headers/linux/taskstats.h
+++ b/contrib/libs/linux-headers/linux/taskstats.h
@@ -34,7 +34,7 @@
*/
-#define TASKSTATS_VERSION 10
+#define TASKSTATS_VERSION 14
#define TS_COMM_LEN 32 /* should be >= TASK_COMM_LEN
* in linux/sched.h */
@@ -48,7 +48,8 @@ struct taskstats {
__u32 ac_exitcode; /* Exit status */
/* The accounting flags of a task as defined in <linux/acct.h>
- * Defined values are AFORK, ASU, ACOMPAT, ACORE, and AXSIG.
+ * Defined values are AFORK, ASU, ACOMPAT, ACORE, AXSIG, and AGROUP.
+ * (AGROUP since version 12).
*/
__u8 ac_flag; /* Record flags */
__u8 ac_nice; /* task_nice */
@@ -172,6 +173,35 @@ struct taskstats {
/* v10: 64-bit btime to avoid overflow */
__u64 ac_btime64; /* 64-bit begin time */
+
+ /* v11: Delay waiting for memory compact */
+ __u64 compact_count;
+ __u64 compact_delay_total;
+
+ /* v12 begin */
+ __u32 ac_tgid; /* thread group ID */
+ /* Thread group walltime up to now. This is total process walltime if
+ * AGROUP flag is set.
+ */
+ __u64 ac_tgetime __attribute__((aligned(8)));
+ /* Lightweight information to identify process binary files.
+ * This leaves userspace to match this to a file system path, using
+ * MAJOR() and MINOR() macros to identify a device and mount point,
+ * the inode to identify the executable file. This is /proc/self/exe
+ * at the end, so matching the most recent exec(). Values are zero
+ * for kernel threads.
+ */
+ __u64 ac_exe_dev; /* program binary device ID */
+ __u64 ac_exe_inode; /* program binary inode number */
+ /* v12 end */
+
+ /* v13: Delay waiting for write-protect copy */
+ __u64 wpcopy_count;
+ __u64 wpcopy_delay_total;
+
+ /* v14: Delay waiting for IRQ/SOFTIRQ */
+ __u64 irq_count;
+ __u64 irq_delay_total;
};