summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/stream.c')
-rw-r--r--tools/perf/util/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/stream.c b/tools/perf/util/stream.c
index 4bd5e5a00aa5..545e44981a27 100644
--- a/tools/perf/util/stream.c
+++ b/tools/perf/util/stream.c
@@ -139,7 +139,7 @@ static int evlist__init_callchain_streams(struct evlist *evlist,
hists__output_resort(hists, NULL);
init_hot_callchain(hists, &es[i]);
- es[i].evsel_idx = pos->idx;
+ es[i].evsel_idx = pos->core.idx;
i++;
}