[PATCH v2 3/4] Replace printf with fprintf for all print functions

2017-09-25 Thread yuzhoujian
This patch will replace printf with fprintf for all print functions in the builtin-script in order to support the per-event-dump option. Changes since v1: - remove the fp_selection_helper function for setting the fp argument, and use a local variable to do the same thing. Signed-off-by: yuzhouji

[PATCH v2 3/4] Replace printf with fprintf for all print functions

2017-09-24 Thread yuzhoujian
Signed-off-by: yuzhoujian --- tools/perf/builtin-script.c | 178 ++-- 1 file changed, 89 insertions(+), 89 deletions(-) diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 065bea7..271dfc4 100644 --- a/tools/perf/builtin-script.c +

[PATCH v2 3/4] Replace printf with fprintf for all print functions

2017-09-23 Thread yuzhoujian
Signed-off-by: yuzhoujian --- tools/perf/builtin-script.c | 178 ++-- 1 file changed, 89 insertions(+), 89 deletions(-) diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 065bea7..271dfc4 100644 --- a/tools/perf/builtin-script.c +