diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c index 291b18ac236aa7992cbd8ff9399fa8306d8bd848..ec0cc1e21c626e3617820039e7a9df4ca60f43eb 100644 --- a/tools/perf/util/evsel.c +++ b/tools/perf/util/evsel.c @@ -1218,6 +1218,7 @@ static int perf_evsel__parse_id_sample(const struct perf_evsel *evsel, sample->pid = u.val32[0]; sample->tid = u.val32[1]; + array--; } return 0;