tests/plugin: add test plugin for inline operations
authorPierrick Bouvier <pierrick.bouvier@linaro.org>
Tue, 5 Mar 2024 12:09:54 +0000 (12:09 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 6 Mar 2024 12:35:32 +0000 (12:35 +0000)
commitb480f7a621c8a896aa7a79b22f179c3c153f3adc
tree8a05ab625b0f8f370bcbe1ced5ce283d404aa220
parent0bcebaba45c2cc3e671e002f3c15266f0ff03b8c
tests/plugin: add test plugin for inline operations

For now, it simply performs instruction, bb and mem count, and ensure
that inline vs callback versions have the same result. Later, we'll
extend it when new inline operations are added.

Use existing plugins to test everything works is a bit cumbersome, as
different events are treated in different plugins. Thus, this new one.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240304130036.124418-6-pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240305121005.3528075-19-alex.bennee@linaro.org>
tests/plugin/inline.c [new file with mode: 0644]
tests/plugin/meson.build