aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-inject.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-inject.c')
-rw-r--r--tools/perf/builtin-inject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-inject.c b/tools/perf/builtin-inject.c
index 9a02807387d6..ee875cca13b1 100644
--- a/tools/perf/builtin-inject.c
+++ b/tools/perf/builtin-inject.c
@@ -366,7 +366,7 @@ static int __cmd_inject(struct perf_inject *inject)
366 } else if (inject->sched_stat) { 366 } else if (inject->sched_stat) {
367 struct perf_evsel *evsel; 367 struct perf_evsel *evsel;
368 368
369 inject->tool.ordered_samples = true; 369 inject->tool.ordered_events = true;
370 370
371 evlist__for_each(session->evlist, evsel) { 371 evlist__for_each(session->evlist, evsel) {
372 const char *name = perf_evsel__name(evsel); 372 const char *name = perf_evsel__name(evsel);