Re: [PATCH RFC] perf: Go back to by-hand proc mmap parsing and kill timeout

2018-10-31 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 31, 2018 at 12:19:10PM -0400, Liang, Kan escreveu: > > > On 10/31/2018 9:21 AM, Arnaldo Carvalho de Melo wrote: > > Em Tue, Oct 30, 2018 at 10:54:16PM -0700, David Miller escreveu: > > > > > > This goes back to by-hand parsing of the proc mmap file, and removes > > > the timeout. > >

Re: [PATCH RFC] perf: Go back to by-hand proc mmap parsing and kill timeout

2018-10-31 Thread Liang, Kan
On 10/31/2018 9:21 AM, Arnaldo Carvalho de Melo wrote: Em Tue, Oct 30, 2018 at 10:54:16PM -0700, David Miller escreveu: This goes back to by-hand parsing of the proc mmap file, and removes the timeout. In my measurements this makes the parsing about twice as fast. Profiling thread synthesi

Re: [PATCH RFC] perf: Go back to by-hand proc mmap parsing and kill timeout

2018-10-31 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 30, 2018 at 10:54:16PM -0700, David Miller escreveu: > > This goes back to by-hand parsing of the proc mmap file, and removes > the timeout. > > In my measurements this makes the parsing about twice as fast. > > Profiling thread synthesizing shows that most of the time is spent in >

[PATCH RFC] perf: Go back to by-hand proc mmap parsing and kill timeout

2018-10-30 Thread David Miller
This goes back to by-hand parsing of the proc mmap file, and removes the timeout. In my measurements this makes the parsing about twice as fast. Profiling thread synthesizing shows that most of the time is spent in the sscanf() call. Processing samples is critical for perf top and perf record