Displaying 2 results from an estimated 2 matches for "ulwps".
Did you mean:
ulps
2006 Jul 17
7
access to errno when using pid provider
I would like to know how to get access to errno when using pid provider to probe calls to
libc functions like fopen(). The built-in errno appears to be only for system calls. What I''d
like to be able to do is investigate where in an application I''m encountering EMFILE and
what the stack looks like at the time.
This message posted from opensolaris.org
2008 Mar 04
0
Determining curthread pointer (ulwp_t) via libproc on i386
...---------------------------------------------------------------------------
So we''re using pcb_gsdesc, but it doesn''t appear that this is exposed
to userland via libproc (unless I''ve missed something.)
I''ve coded something similar to mdb''s "::walk ulwps" that suits my
purpose, but I''d rather be able to determine the ulwp_t for the
current thread than walk that list. (I''m trying to match %pc against
the thread-local scratch space, so I have a way of searching that
list.)
(I haven''t come up to speed on understanding...