Ahmed Karaman <ahmedkhaledkara...@gmail.com> writes:

> On Mon, Jun 29, 2020 at 6:03 PM Alex Bennée <alex.ben...@linaro.org> wrote:
>>
>> Assuming your test case is constant execution (i.e. runs the same each
>> time) you could run in through a plugins build to extract the number of
>> guest instructions, e.g.:
>>
>>   ./aarch64-linux-user/qemu-aarch64 -plugin tests/plugin/libinsn.so -d 
>> plugin ./tests/tcg/aarch64-linux-user/sha1
>>   SHA1=15dd99a1991e0b3826fede3deffc1feba42278e6
>>   insns: 158603512
>>
>> --
>> Alex Bennée
>
> Hi Mr. Alex,
> I've created a plugins build as you've said using "--enable-plugins" option.
> I've searched for "libinsn.so" plugin that you've mentioned in your
> command but it isn't in that path.

make plugins

and you should find them in tests/plugins/

>
> Are there any other options that I should configure my build with?
> Thanks in advance.
>
> Regards,
> Ahmed Karaman


-- 
Alex Bennée

Reply via email to