Re: [PATCH v2 2/4] Transform thread_map to linked list

2013-02-27 Thread David Ahern
On 2/26/13 2:41 AM, chenggang wrote: ---8<--- diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c index 5cd13d7..91d2848 100644 --- a/tools/perf/util/event.c +++ b/tools/perf/util/event.c @@ -327,8 +327,8 @@ int perf_event__synthesize_thread_map(struct perf_tool *tool, err =

[PATCH v2 2/4] Transform thread_map to linked list

2013-02-26 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 easily while we want to response the thread fork and exit events. We transform the thread_map structure to a linked list, and implement some interfaces t

[PATCH v2 2/4] Transform thread_map to linked list

2013-02-26 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 easily while we want to response the thread fork and exit events. We transform the thread_map structure to a linked list, and implement some interfaces t