From bff28ce5be4a8277e23f7445d57aa885fa3896f0 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 5 Jun 2002 23:27:36 +0000 Subject: 2002-06-05 Roland McGrath * hurd_types.h (struct procinfo): New member `taskevents'. (PI_FETCH_TASKEVENTS): New macro. --- hurd/hurd_types.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'hurd') 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 -- cgit v1.2.3