Merge "Update taskstats.h from Linux 3.11.1"
This commit is contained in:
commit
c8d98679fa
@ -18,12 +18,17 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
#ifndef _LINUX_TASKSTATS_H
|
#ifndef _LINUX_TASKSTATS_H
|
||||||
#define _LINUX_TASKSTATS_H
|
#define _LINUX_TASKSTATS_H
|
||||||
#define TASKSTATS_VERSION 1
|
#include <linux/types.h>
|
||||||
struct taskstats {
|
#define TASKSTATS_VERSION 8
|
||||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TS_COMM_LEN 32
|
||||||
|
struct taskstats {
|
||||||
__u16 version;
|
__u16 version;
|
||||||
__u16 padding[3];
|
__u32 ac_exitcode;
|
||||||
__u64 cpu_count;
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u8 ac_flag;
|
||||||
|
__u8 ac_nice;
|
||||||
|
__u64 cpu_count __attribute__((aligned(8)));
|
||||||
__u64 cpu_delay_total;
|
__u64 cpu_delay_total;
|
||||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
__u64 blkio_count;
|
__u64 blkio_count;
|
||||||
@ -33,6 +38,46 @@ struct taskstats {
|
|||||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
__u64 cpu_run_real_total;
|
__u64 cpu_run_real_total;
|
||||||
__u64 cpu_run_virtual_total;
|
__u64 cpu_run_virtual_total;
|
||||||
|
char ac_comm[TS_COMM_LEN];
|
||||||
|
__u8 ac_sched __attribute__((aligned(8)));
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u8 ac_pad[3];
|
||||||
|
__u32 ac_uid __attribute__((aligned(8)));
|
||||||
|
__u32 ac_gid;
|
||||||
|
__u32 ac_pid;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u32 ac_ppid;
|
||||||
|
__u32 ac_btime;
|
||||||
|
__u64 ac_etime __attribute__((aligned(8)));
|
||||||
|
__u64 ac_utime;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u64 ac_stime;
|
||||||
|
__u64 ac_minflt;
|
||||||
|
__u64 ac_majflt;
|
||||||
|
__u64 coremem;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u64 virtmem;
|
||||||
|
__u64 hiwater_rss;
|
||||||
|
__u64 hiwater_vm;
|
||||||
|
__u64 read_char;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u64 write_char;
|
||||||
|
__u64 read_syscalls;
|
||||||
|
__u64 write_syscalls;
|
||||||
|
#define TASKSTATS_HAS_IO_ACCOUNTING
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u64 read_bytes;
|
||||||
|
__u64 write_bytes;
|
||||||
|
__u64 cancelled_write_bytes;
|
||||||
|
__u64 nvcsw;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u64 nivcsw;
|
||||||
|
__u64 ac_utimescaled;
|
||||||
|
__u64 ac_stimescaled;
|
||||||
|
__u64 cpu_scaled_run_real_total;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u64 freepages_count;
|
||||||
|
__u64 freepages_delay_total;
|
||||||
};
|
};
|
||||||
enum {
|
enum {
|
||||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
@ -52,22 +97,23 @@ enum {
|
|||||||
TASKSTATS_TYPE_AGGR_PID,
|
TASKSTATS_TYPE_AGGR_PID,
|
||||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
TASKSTATS_TYPE_AGGR_TGID,
|
TASKSTATS_TYPE_AGGR_TGID,
|
||||||
|
TASKSTATS_TYPE_NULL,
|
||||||
__TASKSTATS_TYPE_MAX,
|
__TASKSTATS_TYPE_MAX,
|
||||||
};
|
};
|
||||||
#define TASKSTATS_TYPE_MAX (__TASKSTATS_TYPE_MAX - 1)
|
|
||||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TASKSTATS_TYPE_MAX (__TASKSTATS_TYPE_MAX - 1)
|
||||||
enum {
|
enum {
|
||||||
TASKSTATS_CMD_ATTR_UNSPEC = 0,
|
TASKSTATS_CMD_ATTR_UNSPEC = 0,
|
||||||
TASKSTATS_CMD_ATTR_PID,
|
TASKSTATS_CMD_ATTR_PID,
|
||||||
TASKSTATS_CMD_ATTR_TGID,
|
|
||||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
TASKSTATS_CMD_ATTR_TGID,
|
||||||
TASKSTATS_CMD_ATTR_REGISTER_CPUMASK,
|
TASKSTATS_CMD_ATTR_REGISTER_CPUMASK,
|
||||||
TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK,
|
TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK,
|
||||||
__TASKSTATS_CMD_ATTR_MAX,
|
__TASKSTATS_CMD_ATTR_MAX,
|
||||||
};
|
|
||||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
#define TASKSTATS_CMD_ATTR_MAX (__TASKSTATS_CMD_ATTR_MAX - 1)
|
#define TASKSTATS_CMD_ATTR_MAX (__TASKSTATS_CMD_ATTR_MAX - 1)
|
||||||
#define TASKSTATS_GENL_NAME "TASKSTATS"
|
#define TASKSTATS_GENL_NAME "TASKSTATS"
|
||||||
#define TASKSTATS_GENL_VERSION 0x1
|
#define TASKSTATS_GENL_VERSION 0x1
|
||||||
#endif
|
|
||||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user