plugins: new syscalls plugin
authorMatthias Weckbecker <matthias@weckbecker.name>
Fri, 12 Mar 2021 17:28:08 +0000 (17:28 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 17 Mar 2021 07:17:46 +0000 (07:17 +0000)
commit279d0a5b1e6b81f88f95b889de8356a331ea8380
tree2e69087f458b50562054c20cad809a3753fdd15d
parent6567ba0c60d6e1366f7ac6e77665730e657e8eca
plugins: new syscalls plugin

This commit adds a new syscalls plugin that displays the syscalls
as they are executed and returned. This plugin outputs the number
of the syscall as well as the syscall return value.

Works in *-user only.

Essentially, this commit restores:

  https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg00846.html

by using the new QEMU plugin API.

Signed-off-by: Matthias Weckbecker <matthias@weckbecker.name>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200812115816.4454-1-matthias@weckbecker.name>
Message-Id: <20210312172821.31647-2-alex.bennee@linaro.org>
tests/plugin/meson.build
tests/plugin/syscall.c [new file with mode: 0644]