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

2017-09-16 Thread David Ahern
On 9/13/17 9:10 AM, yuzhoujian wrote: > @@ -1621,8 +1634,12 @@ static int process_comm_event(struct perf_tool *tool, > sample->tid = event->comm.tid; > sample->pid = event->comm.pid; > } > - print_sample_start(sample, thread, evsel); > -

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

2017-09-16 Thread David Ahern
On 9/13/17 9:10 AM, yuzhoujian wrote: > @@ -1621,8 +1634,12 @@ static int process_comm_event(struct perf_tool *tool, > sample->tid = event->comm.tid; > sample->pid = event->comm.pid; > } > - print_sample_start(sample, thread, evsel); > -

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

2017-09-13 Thread yuzhoujian
Signed-off-by: yuzhoujian --- tools/perf/builtin-script.c | 269 ++-- 1 file changed, 158 insertions(+), 111 deletions(-) diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index b4de101..076b7db 100644 ---

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

2017-09-13 Thread yuzhoujian
Signed-off-by: yuzhoujian --- tools/perf/builtin-script.c | 269 ++-- 1 file changed, 158 insertions(+), 111 deletions(-) diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index b4de101..076b7db 100644 ---