diff options
author | Roland McGrath <roland@gnu.org> | 2002-06-05 23:27:36 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-06-05 23:27:36 +0000 |
commit | bff28ce5be4a8277e23f7445d57aa885fa3896f0 (patch) | |
tree | b45638ccf683abe9b1cd60829accffc5d4008235 | |
parent | 4848ea1e726c1bd0c37616c67df6ad12ab3b207f (diff) | |
download | hurd-bff28ce5be4a8277e23f7445d57aa885fa3896f0.tar.gz hurd-bff28ce5be4a8277e23f7445d57aa885fa3896f0.tar.bz2 hurd-bff28ce5be4a8277e23f7445d57aa885fa3896f0.zip |
2002-06-05 Roland McGrath <roland@frob.com>
* hurd_types.h (struct procinfo): New member `taskevents'.
(PI_FETCH_TASKEVENTS): New macro.
-rw-r--r-- | hurd/hurd_types.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/hurd/hurd_types.h b/hurd/hurd_types.h index f8258d07..82b88d32 100644 --- a/hurd/hurd_types.h +++ b/hurd/hurd_types.h @@ -250,11 +250,12 @@ enum file_storage_class #endif /* Flags sent in proc_getprocinfo request. */ -#define PI_FETCH_TASKINFO 0x00000001 -#define PI_FETCH_THREADS 0x00000002 -#define PI_FETCH_THREAD_BASIC 0x00004 -#define PI_FETCH_THREAD_SCHED 0x00008 -#define PI_FETCH_THREAD_WAITS 0x00010 +#define PI_FETCH_TASKINFO 0x0001 +#define PI_FETCH_TASKEVENTS 0x0020 +#define PI_FETCH_THREADS 0x0002 +#define PI_FETCH_THREAD_BASIC 0x0004 +#define PI_FETCH_THREAD_SCHED 0x0008 +#define PI_FETCH_THREAD_WAITS 0x0010 struct procinfo { @@ -270,6 +271,7 @@ struct procinfo int nthreads; /* size of pi_threadinfos */ struct task_basic_info taskinfo; + struct task_events_info taskevents; #ifdef TASK_SCHED_TIMESHARE_INFO struct policy_timeshare_base timeshare_base_info; #endif |