OSDN Git Service

tests/plugin: allow memory plugin to do both inline and callbacks
authorAlex Bennée <alex.bennee@linaro.org>
Sat, 13 Feb 2021 13:03:24 +0000 (13:03 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 18 Feb 2021 08:19:23 +0000 (08:19 +0000)
commit0eca92e299e50ec408e25f7160f8f45b3b882a08
treec987ff5eb06c63637208054ef7f1916c7a99b0ce
parent36fc4a2fa4c788381918e8c6815ae2d73957847d
tests/plugin: allow memory plugin to do both inline and callbacks

This is going to be useful for acceptance tests that check both types
are being called the same number of times, especially when icount is
enabled.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210213130325.14781-23-alex.bennee@linaro.org>
tests/plugin/mem.c