On 1/24/07, Andrew Cagney <[EMAIL PROTECTED]> wrote:
David,
Kyle is correct, it is a long standing 2.6 change. The magic-dir is
there for compatibility, seeing those accesses in traces when the
corresponding directory doesn't exist makes things most confusing. The
correct path is /proc/PID/task/TID.
I'd assume this was a side effect of the NPTL and related changes which
led to linux getting working threads.
Yes, it's hidden from the directory listing in /proc.
$ ls /proc/13555/task
13555 13556 13557 13558 13559
$ ls /proc | grep 13556 | wc -l
0
$ ls /proc/13556
attr auxv cmdline cwd environ exe fd maps mem mounts
mountstats numa_maps oom_adj oom_score root seccomp smaps stat
statm status task wchan
But I didn't see anything that said doing this was "deprecated".
-Arun
_______________________________________________
Libunwind-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/libunwind-devel