bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Does task_info support the TASK_EVENTS_INFO type of information?


From: Da Zheng
Subject: Does task_info support the TASK_EVENTS_INFO type of information?
Date: Tue, 02 Jun 2009 16:24:27 +0800
User-agent: Thunderbird 2.0.0.21 (Macintosh/20090302)

Hi,

I tried the code below:
 struct task_events_info taskevents;
 size_t tkcount = TASK_EVENTS_INFO_COUNT;
 error_t err;

 err = task_info (mach_task_self (), TASK_EVENTS_INFO,
                          (task_info_t) &taskevents, &tkcount);
 assert_perror (err);

and I always get the error:
Unexpected error: (os/kern) invalid argument.

It seems to me that the Mach doesn't support TASK_EVENTS_INFO.
I read Mach 3 Kernel Interfaces and it seems that the original Mach only supports TASK_BASIC_INFO and TASK_THREAD_TIMES_INFO, but The GNU Mach Reference Manual mentions TASK_EVENTS_INFO. I assume that this feature is added in GNU Mach.

I use Debian/Hurd, and the version of Mach is GNU Mach 1.3.99. I wonder which version of GNU Mach supports TASK_EVENTS_INFO.

Best regards,
Zheng Da




reply via email to

[Prev in Thread] Current Thread [Next in Thread]