By default, perf inject should "repipe" all events
including 'finished_round'.

Signed-off-by: Adrian Hunter <[email protected]>
---
 tools/perf/builtin-inject.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/perf/builtin-inject.c b/tools/perf/builtin-inject.c
index fb341f1..c9270d9 100644
--- a/tools/perf/builtin-inject.c
+++ b/tools/perf/builtin-inject.c
@@ -404,6 +404,7 @@ int cmd_inject(int argc, const char **argv, const char 
*prefix __maybe_unused)
                        .attr           = perf_event__repipe_attr,
                        .event_type     = perf_event__repipe_event_type_synth,
                        .tracing_data   = perf_event__repipe_op2_synth,
+                       .finished_round = perf_event__repipe_op2_synth,
                        .build_id       = perf_event__repipe_op2_synth,
                },
                .input_name  = "-",
-- 
1.7.11.7

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to