diff options
Diffstat (limited to 'tools/perf')
| -rw-r--r-- | tools/perf/builtin-script.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index bd468b90801b..ca09b7d2adb7 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c | |||
| @@ -1737,6 +1737,9 @@ static void process_event(struct perf_script *script, | |||
| 1737 | 1737 | ||
| 1738 | if (PRINT_FIELD(METRIC)) | 1738 | if (PRINT_FIELD(METRIC)) |
| 1739 | perf_sample__fprint_metric(script, thread, evsel, sample, fp); | 1739 | perf_sample__fprint_metric(script, thread, evsel, sample, fp); |
| 1740 | |||
| 1741 | if (verbose) | ||
| 1742 | fflush(fp); | ||
| 1740 | } | 1743 | } |
| 1741 | 1744 | ||
| 1742 | static struct scripting_ops *scripting_ops; | 1745 | static struct scripting_ops *scripting_ops; |
