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

2017-10-18 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 v3: - none Changes since v2: - none Changes since v1: - remove the fp_selection_helper function for setting the fp argument, and use a local

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

2017-10-18 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 v3: - none Changes since v2: - none Changes since v1: - remove the fp_selection_helper function for setting the fp argument, and use a local