[PATCH v2 2/4] Add fp argument to print functions

2017-09-26 Thread yuzhoujian
This patch will add the fp argument to all the print functions so that they can use different file pointer to print on the screen or dump in the file. Changes since v1: - add the __maybe_unused attribute for the fp argument in all the print functions, because the fp is not used in this patch

[PATCH v2 2/4] Add fp argument to print functions

2017-09-26 Thread yuzhoujian
This patch will add the fp argument to all the print functions so that they can use different file pointer to print on the screen or dump in the file. Changes since v1: - add the __maybe_unused attribute for the fp argument in all the print functions, because the fp is not used in this patch

[PATCH v2 2/4] Add fp argument to print functions

2017-09-24 Thread yuzhoujian
Signed-off-by: yuzhoujian --- tools/perf/builtin-script.c | 190 +++- 1 file changed, 100 insertions(+), 90 deletions(-) diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 936af8b..065bea7 100644 ---

[PATCH v2 2/4] Add fp argument to print functions

2017-09-24 Thread yuzhoujian
Signed-off-by: yuzhoujian --- tools/perf/builtin-script.c | 190 +++- 1 file changed, 100 insertions(+), 90 deletions(-) diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 936af8b..065bea7 100644 --- a/tools/perf/builtin-script.c

[PATCH v2 2/4] Add fp argument to print functions

2017-09-23 Thread yuzhoujian
Signed-off-by: yuzhoujian --- tools/perf/builtin-script.c | 190 +++- 1 file changed, 100 insertions(+), 90 deletions(-) diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 936af8b..065bea7 100644 ---

[PATCH v2 2/4] Add fp argument to print functions

2017-09-23 Thread yuzhoujian
Signed-off-by: yuzhoujian --- tools/perf/builtin-script.c | 190 +++- 1 file changed, 100 insertions(+), 90 deletions(-) diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 936af8b..065bea7 100644 --- a/tools/perf/builtin-script.c