Re: [PATCH v3 3/9] perf stat: factor out event handling loop into a function

2020-05-21 Thread Jiri Olsa
On Wed, May 20, 2020 at 06:17:40PM +0300, Alexey Budankov wrote: SNIP > >> @@ -675,16 +708,9 @@ static int __run_perf_stat(int argc, const char > >> **argv, int run_idx) > >>perf_evlist__start_workload(evsel_list); > >>enable_counters(); > >> > >> - if (interva

Re: [PATCH v3 3/9] perf stat: factor out event handling loop into a function

2020-05-20 Thread Alexey Budankov
On 20.05.2020 15:38, Jiri Olsa wrote: > On Wed, May 13, 2020 at 11:00:47AM +0300, Alexey Budankov wrote: >> >> Factor out event handling loop into handle_events() function. >> >> Signed-off-by: Alexey Budankov >> --- >> tools/perf/builtin-stat.c | 85 +++ >>

Re: [PATCH v3 3/9] perf stat: factor out event handling loop into a function

2020-05-20 Thread Jiri Olsa
On Wed, May 13, 2020 at 11:00:47AM +0300, Alexey Budankov wrote: > > Factor out event handling loop into handle_events() function. > > Signed-off-by: Alexey Budankov > --- > tools/perf/builtin-stat.c | 85 +++ > 1 file changed, 50 insertions(+), 35 deletions(

[PATCH v3 3/9] perf stat: factor out event handling loop into a function

2020-05-13 Thread Alexey Budankov
Factor out event handling loop into handle_events() function. Signed-off-by: Alexey Budankov --- tools/perf/builtin-stat.c | 85 +++ 1 file changed, 50 insertions(+), 35 deletions(-) diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c index e

[PATCH v3 3/9] perf stat: factor out event handling loop into a function

2020-05-08 Thread Alexey Budankov
Factor out event handling loop into handle_events() function. Signed-off-by: Alexey Budankov --- tools/perf/builtin-stat.c | 85 +++ 1 file changed, 50 insertions(+), 35 deletions(-) diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c index e