Re: [PATCH v3 3/8]Perf: Transform evlist->mmap to xyarray

2013-03-17 Thread David Ahern
On 3/13/13 3:42 AM, chenggang wrote: diff --git a/tools/perf/Makefile b/tools/perf/Makefile index a2108ca..7f3f066 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile @@ -209,7 +209,8 @@ BASIC_CFLAGS = \ -Iutil \ -I. \ -I$(TRACE_EVENT_DIR) \ - -D_LARGEFILE64_S

[PATCH v3 3/8]Perf: Transform evlist->mmap to xyarray

2013-03-13 Thread chenggang
From: chenggang Transformed evlist->mmap to xyarray. Then the evlist->mmap is transformed to a linked list too. 1) perf_evlist__mmap_thread() mmap a new fd for a new thread forked on-the-fly. 2) void perf_evlist__munmap_thread() munmap a fd for a exited thread on-the-fly. 3) perf_evlist__g