Re: [PATCH v3 1/8]Perf: Transform thread_map to linked list

2013-03-17 Thread David Ahern
Hi: On 3/13/13 3:42 AM, chenggang wrote: --- tools/perf/builtin-stat.c |2 +- tools/perf/tests/open-syscall-tp-fields.c |2 +- tools/perf/util/event.c | 12 +- tools/perf/util/evlist.c |2 +- tools/perf/util/evsel.c

[PATCH v3 1/8]Perf: Transform thread_map to linked list

2013-03-13 Thread chenggang
From: chenggang The size of thread_map is fixed at initialized phase according to the files in /proc/{$pid}. It cannot be expanded and shrinked while we want to perceive the thread fork and exit events. We transform the thread_map structure to a linked list, and implement some interfaces to expen