summaryrefslogtreecommitdiff
path: root/hurd/hurd_types.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-06-05 23:27:36 +0000
committerRoland McGrath <roland@gnu.org>2002-06-05 23:27:36 +0000
commitbff28ce5be4a8277e23f7445d57aa885fa3896f0 (patch)
treeb45638ccf683abe9b1cd60829accffc5d4008235 /hurd/hurd_types.h
parent4848ea1e726c1bd0c37616c67df6ad12ab3b207f (diff)
2002-06-05 Roland McGrath <roland@frob.com>
* hurd_types.h (struct procinfo): New member `taskevents'. (PI_FETCH_TASKEVENTS): New macro.
Diffstat (limited to 'hurd/hurd_types.h')
-rw-r--r--hurd/hurd_types.h12
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