How to check the vma maps of threads in /proc?

"Tian, Kevin" <[email protected]> Thu, 20 Nov 2003 14:17:26 +0800
Newsgroups gmane.comp.lib.phil
Message-ID <571ACEFD467F7749BC50E0A98C17CDD8F3287B@pdsmsx403.ccr.corp.intel.com>
Hi, all,

	I'd like to check the vma maps of created threads, but failed to
do that. Currently all threads in a process group will only show as one
entry in /proc with group id, right? When I pause the running threads
and read the maps file under this entry, it seemed that only process
information is recorded, such as:
---------------------------------------------
0000000008048000-000000000804c000 rwxp 0000000000000000 00:00 0
000000000804c000-000000000806c000 rwxp 0000000000000000 00:00 0
0000000040000000-0000000040014000 r-xp 0000000000000000 08:07 571222
/emul/ia32-linux/lib/ld-2.3.2.so
0000000040014000-0000000040018000 rwxp 0000000000000000 00:00 0
0000000040028000-000000004002c000 r-xp 0000000000010000 08:07 244950
/etc/ld.so.cache
000000004002c000-0000000040038000 r-xp 0000000000000000 08:07 440673
/emul/ia32-linux/lib/tls/libpthread-0.60.so
0000000040038000-0000000040040000 rwxp 0000000000000000 00:00 0
0000000040040000-0000000040170000 r-xp 0000000000000000 08:07 440669
/emul/ia32-linux/lib/tls/libc-2.3.2.so
0000000040170000-00000000479a8000 rwxp 0000000000000000 00:00 0
00000000bfffc000-00000000c0000000 rwxp 0000000000000000 00:00 0
00000000c0000000-00000000c0004000 r--p 0000000000000000 00:00 0
00000000c0008000-00000000c0018000 rw-p 0000000000000000 00:00 0
---------------------------------------------

	I just want to know if I missed something when kernel
configuration, or need other effort to achieve the goal. Or is it
complete impossible to check thread vmas in current kernel...... I just
guess. :)

P.S. The environment is based on running 32bit binary on IPF platform.

Thanks,
Kevin