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

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



Oh, this may be some 32bit compatibility support issue. I could check the thread vmas when running 64bit binary directly on IPF platform. :) 

Thanks,
Kevin

-----Original Message-----
From: phil-list-admin redhat com [mailto:phil-list-admin redhat com] On Behalf Of Tian, Kevin
Sent: 2003年11月20日 14:17
To: phil-list redhat com
Subject: How to check the vma maps of threads in /proc?

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




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