Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
taskstats.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  taskstats
 

Macros

#define TASKSTATS_VERSION   8
 
#define TS_COMM_LEN
 
#define TASKSTATS_HAS_IO_ACCOUNTING
 
#define TASKSTATS_CMD_MAX   (__TASKSTATS_CMD_MAX - 1)
 
#define TASKSTATS_TYPE_MAX   (__TASKSTATS_TYPE_MAX - 1)
 
#define TASKSTATS_CMD_ATTR_MAX   (__TASKSTATS_CMD_ATTR_MAX - 1)
 
#define TASKSTATS_GENL_NAME   "TASKSTATS"
 
#define TASKSTATS_GENL_VERSION   0x1
 

Enumerations

enum  { TASKSTATS_CMD_UNSPEC = 0, TASKSTATS_CMD_GET, TASKSTATS_CMD_NEW, __TASKSTATS_CMD_MAX }
 
enum  {
  TASKSTATS_TYPE_UNSPEC = 0, TASKSTATS_TYPE_PID, TASKSTATS_TYPE_TGID, TASKSTATS_TYPE_STATS,
  TASKSTATS_TYPE_AGGR_PID, TASKSTATS_TYPE_AGGR_TGID, TASKSTATS_TYPE_NULL, __TASKSTATS_TYPE_MAX
}
 
enum  {
  TASKSTATS_CMD_ATTR_UNSPEC = 0, TASKSTATS_CMD_ATTR_PID, TASKSTATS_CMD_ATTR_TGID, TASKSTATS_CMD_ATTR_REGISTER_CPUMASK,
  TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK, __TASKSTATS_CMD_ATTR_MAX
}
 

Macro Definition Documentation

#define TASKSTATS_CMD_ATTR_MAX   (__TASKSTATS_CMD_ATTR_MAX - 1)

Definition at line 205 of file taskstats.h.

#define TASKSTATS_CMD_MAX   (__TASKSTATS_CMD_MAX - 1)

Definition at line 181 of file taskstats.h.

#define TASKSTATS_GENL_NAME   "TASKSTATS"

Definition at line 209 of file taskstats.h.

#define TASKSTATS_GENL_VERSION   0x1

Definition at line 210 of file taskstats.h.

#define TASKSTATS_HAS_IO_ACCOUNTING

Definition at line 148 of file taskstats.h.

#define TASKSTATS_TYPE_MAX   (__TASKSTATS_TYPE_MAX - 1)

Definition at line 194 of file taskstats.h.

#define TASKSTATS_VERSION   8

Definition at line 36 of file taskstats.h.

#define TS_COMM_LEN
Value:
32 /* should be >= TASK_COMM_LEN
* in linux/sched.h */

Definition at line 37 of file taskstats.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
TASKSTATS_CMD_UNSPEC 
TASKSTATS_CMD_GET 
TASKSTATS_CMD_NEW 
__TASKSTATS_CMD_MAX 

Definition at line 174 of file taskstats.h.

anonymous enum
Enumerator:
TASKSTATS_TYPE_UNSPEC 
TASKSTATS_TYPE_PID 
TASKSTATS_TYPE_TGID 
TASKSTATS_TYPE_STATS 
TASKSTATS_TYPE_AGGR_PID 
TASKSTATS_TYPE_AGGR_TGID 
TASKSTATS_TYPE_NULL 
__TASKSTATS_TYPE_MAX 

Definition at line 183 of file taskstats.h.

anonymous enum
Enumerator:
TASKSTATS_CMD_ATTR_UNSPEC 
TASKSTATS_CMD_ATTR_PID 
TASKSTATS_CMD_ATTR_TGID 
TASKSTATS_CMD_ATTR_REGISTER_CPUMASK 
TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK 
__TASKSTATS_CMD_ATTR_MAX 

Definition at line 196 of file taskstats.h.