Re: [PATCH 3/3] perf: fix synthesizing mmaps for threads

2014-02-26 Thread Don Zickus
On Wed, Feb 26, 2014 at 11:17:26AM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Feb 25, 2014 at 10:43:47PM -0500, Don Zickus escreveu: > > Currently if a process creates a bunch of threads using pthread_create > > and then perf is run in system_wide mode, the mmaps for those threads > > are

Re: [PATCH 3/3] perf: fix synthesizing mmaps for threads

2014-02-26 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 26, 2014 at 11:17:26AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Feb 25, 2014 at 10:43:47PM -0500, Don Zickus escreveu: > > Currently if a process creates a bunch of threads using pthread_create > > and then perf is run in system_wide mode, the mmaps for those threads > > are

Re: [PATCH 3/3] perf: fix synthesizing mmaps for threads

2014-02-26 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 25, 2014 at 10:43:47PM -0500, Don Zickus escreveu: > Currently if a process creates a bunch of threads using pthread_create > and then perf is run in system_wide mode, the mmaps for those threads > are not captured with a synthesized mmap event. > > The reason is those threads are not

Re: [PATCH 3/3] perf: fix synthesizing mmaps for threads

2014-02-26 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 25, 2014 at 10:43:47PM -0500, Don Zickus escreveu: Currently if a process creates a bunch of threads using pthread_create and then perf is run in system_wide mode, the mmaps for those threads are not captured with a synthesized mmap event. The reason is those threads are not

Re: [PATCH 3/3] perf: fix synthesizing mmaps for threads

2014-02-26 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 26, 2014 at 11:17:26AM -0300, Arnaldo Carvalho de Melo escreveu: Em Tue, Feb 25, 2014 at 10:43:47PM -0500, Don Zickus escreveu: Currently if a process creates a bunch of threads using pthread_create and then perf is run in system_wide mode, the mmaps for those threads are not

Re: [PATCH 3/3] perf: fix synthesizing mmaps for threads

2014-02-26 Thread Don Zickus
On Wed, Feb 26, 2014 at 11:17:26AM -0300, Arnaldo Carvalho de Melo wrote: Em Tue, Feb 25, 2014 at 10:43:47PM -0500, Don Zickus escreveu: Currently if a process creates a bunch of threads using pthread_create and then perf is run in system_wide mode, the mmaps for those threads are not

[PATCH 3/3] perf: fix synthesizing mmaps for threads

2014-02-25 Thread Don Zickus
Currently if a process creates a bunch of threads using pthread_create and then perf is run in system_wide mode, the mmaps for those threads are not captured with a synthesized mmap event. The reason is those threads are not visible when walking the /proc/ directory looking for /proc//maps files.

[PATCH 3/3] perf: fix synthesizing mmaps for threads

2014-02-25 Thread Don Zickus
Currently if a process creates a bunch of threads using pthread_create and then perf is run in system_wide mode, the mmaps for those threads are not captured with a synthesized mmap event. The reason is those threads are not visible when walking the /proc/ directory looking for /proc/pid/maps