OSDN Git Service

contrib/plugins: reset skip when matching in execlog
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 29 Sep 2022 11:42:19 +0000 (12:42 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 6 Oct 2022 10:53:40 +0000 (11:53 +0100)
commit8c1f1020d6e7dd329f5cf0cd8fd108dfb224eaec
tree20536928c22ad6f777dd8ca544cbf3bf559f0a42
parent7f522743dfcea095fe77755386e980cbb5db4ef4
contrib/plugins: reset skip when matching in execlog

The purpose of the matches was to only track the execution of
instructions we care about. Without resetting skip to the value at the
start of the block we end up dumping all instructions after the match
with the consequent load on the instrumentation.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Alexandre Iooss <erdnaxe@crans.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220929114231.583801-40-alex.bennee@linaro.org>
contrib/plugins/execlog.c