All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] execlog TCG plugin to log instructions
@ 2021-07-02  8:13 Alexandre Iooss
  2021-07-02  8:13 ` [PATCH v3 1/2] contrib/plugins: add execlog to log instruction execution and memory access Alexandre Iooss
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alexandre Iooss @ 2021-07-02  8:13 UTC (permalink / raw)
  To: open list : All patches CC here
  Cc: Alexandre Iooss, Mahmoud Mandour, Alex Bennée

execlog is a plugin that logs executed instructions with some useful
metadata including memory access.

The output of the plugin is designed to be usable with other tools. For
example it could be used with a side-channel leakage model to create
side-channel traces from QEMU for security evaluation.

Changes since v2:
 - Fix typo "tvg-plugins" to "tcg-plugins" in commit title.
 - Add warning about plugin output size in documentation.
 - Fix user mode tracing by using a dynamic list.
 - Fix last instructions not being logged.
 - Remove empty first line in plugin output.

Changes since v1:
 - The output is now easier to parse.
 - Use QEMU logging API rather than FILE* to write output.
 - Don't reject memory information in user mode.
 - Merge memory information with instruction execution. Now one line
   means one instruction.
 - Add documentation.

Alexandre Iooss (2):
  contrib/plugins: add execlog to log instruction execution and memory
    access
  docs/devel: tcg-plugins: add execlog plugin description

 MAINTAINERS                |   1 +
 contrib/plugins/Makefile   |   1 +
 contrib/plugins/execlog.c  | 153 +++++++++++++++++++++++++++++++++++++
 docs/devel/tcg-plugins.rst |  24 ++++++
 4 files changed, 179 insertions(+)
 create mode 100644 contrib/plugins/execlog.c

-- 
2.31.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-05 15:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-02  8:13 [PATCH v3 0/2] execlog TCG plugin to log instructions Alexandre Iooss
2021-07-02  8:13 ` [PATCH v3 1/2] contrib/plugins: add execlog to log instruction execution and memory access Alexandre Iooss
2021-07-02  8:13 ` [PATCH v3 2/2] docs/devel: tcg-plugins: add execlog plugin description Alexandre Iooss
2021-07-05 15:29 ` [PATCH v3 0/2] execlog TCG plugin to log instructions Alex Bennée

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.