Re: [PATCH 2/4] Makes all those related functions receive the FILE pointer

2017-09-22 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 22, 2017 at 11:03:19AM +0200, Jiri Olsa escreveu: > On Mon, Sep 18, 2017 at 01:55:20PM +0800, yuzhoujian wrote: > > Signed-off-by: yuzhoujian > > +++ b/tools/perf/builtin-script.c > > @@ -486,8 +486,8 @@ static int perf_session__check_output_opt(struct > > perf_session *session) > >

Re: [PATCH 2/4] Makes all those related functions receive the FILE pointer

2017-09-22 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 22, 2017 at 11:03:12AM +0200, Jiri Olsa escreveu: > On Mon, Sep 18, 2017 at 01:55:20PM +0800, yuzhoujian wrote: > > SNIP > > > out_put: > > addr_location__put(&al); > > @@ -1605,6 +1617,7 @@ static int process_comm_event(struct perf_tool *tool, > > struct perf_session *sessio

Re: [PATCH 2/4] Makes all those related functions receive the FILE pointer

2017-09-22 Thread Jiri Olsa
On Mon, Sep 18, 2017 at 01:55:20PM +0800, yuzhoujian wrote: > Signed-off-by: yuzhoujian > --- > tools/perf/builtin-script.c | 247 > > 1 file changed, 136 insertions(+), 111 deletions(-) > > diff --git a/tools/perf/builtin-script.c b/tools/perf/built

Re: [PATCH 2/4] Makes all those related functions receive the FILE pointer

2017-09-22 Thread Jiri Olsa
On Mon, Sep 18, 2017 at 01:55:20PM +0800, yuzhoujian wrote: SNIP > out_put: > addr_location__put(&al); > @@ -1605,6 +1617,7 @@ static int process_comm_event(struct perf_tool *tool, > struct perf_session *session = script->session; > struct perf_evsel *evsel = perf_evlist__id2ev

[PATCH 2/4] Makes all those related functions receive the FILE pointer

2017-09-17 Thread yuzhoujian
Signed-off-by: yuzhoujian --- tools/perf/builtin-script.c | 247 1 file changed, 136 insertions(+), 111 deletions(-) diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 91b5225..f709f6f 100644 --- a/tools/perf/builtin-script.c