diff options
author | Ben Cheng <bccheng@google.com> | 2012-03-07 21:13:49 -0800 |
---|---|---|
committer | Ben Cheng <bccheng@google.com> | 2012-03-07 21:13:49 -0800 |
commit | 654325de026a2ca5b76b8b40e576c959d8211fdc (patch) | |
tree | 1c5dca11f5d9a792f0b4c7d3df8f57958532a091 /libc/kernel/common/linux/taskstats.h | |
parent | db6d20be77d7a176822db4106dc43605e22c7b39 (diff) | |
download | android_bionic-654325de026a2ca5b76b8b40e576c959d8211fdc.tar.gz android_bionic-654325de026a2ca5b76b8b40e576c959d8211fdc.tar.bz2 android_bionic-654325de026a2ca5b76b8b40e576c959d8211fdc.zip |
Update bionic kernel headers using update_all.py
Change-Id: I9c377436e9bf158e7236b3b7dcebf3e79fa961de
Diffstat (limited to 'libc/kernel/common/linux/taskstats.h')
-rw-r--r-- | libc/kernel/common/linux/taskstats.h | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/libc/kernel/common/linux/taskstats.h b/libc/kernel/common/linux/taskstats.h index 3e8ae4a14..0e1cb6726 100644 --- a/libc/kernel/common/linux/taskstats.h +++ b/libc/kernel/common/linux/taskstats.h @@ -7,66 +7,67 @@ *** structures, and macros generated from the original header, and thus, *** contains no copyrightable information. *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** **************************************************************************** ****************************************************************************/ #ifndef _LINUX_TASKSTATS_H #define _LINUX_TASKSTATS_H - #define TASKSTATS_VERSION 1 - struct taskstats { - +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u16 version; __u16 padding[3]; - __u64 cpu_count; __u64 cpu_delay_total; - +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u64 blkio_count; __u64 blkio_delay_total; - __u64 swapin_count; __u64 swapin_delay_total; - +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u64 cpu_run_real_total; - __u64 cpu_run_virtual_total; - }; - enum { +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ TASKSTATS_CMD_UNSPEC = 0, TASKSTATS_CMD_GET, TASKSTATS_CMD_NEW, __TASKSTATS_CMD_MAX, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; - #define TASKSTATS_CMD_MAX (__TASKSTATS_CMD_MAX - 1) - enum { TASKSTATS_TYPE_UNSPEC = 0, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ TASKSTATS_TYPE_PID, TASKSTATS_TYPE_TGID, TASKSTATS_TYPE_STATS, TASKSTATS_TYPE_AGGR_PID, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ TASKSTATS_TYPE_AGGR_TGID, __TASKSTATS_TYPE_MAX, }; - #define TASKSTATS_TYPE_MAX (__TASKSTATS_TYPE_MAX - 1) - +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ enum { TASKSTATS_CMD_ATTR_UNSPEC = 0, TASKSTATS_CMD_ATTR_PID, TASKSTATS_CMD_ATTR_TGID, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ TASKSTATS_CMD_ATTR_REGISTER_CPUMASK, TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK, __TASKSTATS_CMD_ATTR_MAX, }; - +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define TASKSTATS_CMD_ATTR_MAX (__TASKSTATS_CMD_ATTR_MAX - 1) - #define TASKSTATS_GENL_NAME "TASKSTATS" #define TASKSTATS_GENL_VERSION 0x1 - #endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |