perf cs-etm: Add missing variable in cs_etm__process_queues()
authorBen Hutchings <benh@debian.org>
Fri, 31 Jan 2025 22:52:43 +0000 (23:52 +0100)
committerBen Hutchings <benh@debian.org>
Mon, 24 Feb 2025 01:11:58 +0000 (02:11 +0100)
commitb0531f7740679b98e6433a49d74850606d117ee4
treeb18b1db389510c1ee8c89edcb7e1ce222c938075
parent9dba731ce0974b2d33c4c2c967fe38d763207533
perf cs-etm: Add missing variable in cs_etm__process_queues()

Commit 5afd032961e8 "perf cs-etm: Don't flush when packet_queue fills
up" uses i as a loop counter in cs_etm__process_queues().  It was
backported to the 5.10 stable branch, but the i variable doesn't exist
here as it was only added in 5.15.

Declare i with the expected type.

Fixes: 26db806fa23e ("perf cs-etm: Don't flush when packet_queue fills up")
Signed-off-by: Ben Hutchings <benh@debian.org>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name perf-cs-etm-add-missing-variable-in-cs_etm__process_queues.patch
tools/perf/util/cs-etm.c