qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC 0/6] initial plugin support
@ 2017-09-06 20:28 Emilio G. Cota
  2017-09-06 20:28 ` [Qemu-devel] [RFC 1/6] tcg: keep a pointer to the current TB in TCGContext Emilio G. Cota
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: Emilio G. Cota @ 2017-09-06 20:28 UTC (permalink / raw)
  To: qemu-devel; +Cc: Lluís Vilanova, Stefan Hajnoczi

Related threads:
  [PATCH 00/13] instrument: Add basic event instrumentation
  Date: Mon, 24 Jul 2017 20:02:24 +0300
  https://lists.gnu.org/archive/html/qemu-devel/2017-07/msg07419.html
and
  [PATCH v4 00/20] instrument: Add basic event instrumentation
  Date:	Wed, 6 Sep 2017 20:22:41 +0300
  https://lists.gnu.org/archive/html/qemu-devel/2017-07/msg07419.html

This set does something similar to the instrumentation patches by Lluis,
but with a different implementation (and for now less events).

My focus has been on working on the skeleton of a (pseudo) stable API,
as Stefan requested. Of course more events would have to be added, but
before spending more time on this I'd like to get some feedback on the
core of the design. Patch 2 has all the details.

Note: yes, patch 1 is not used in the series, but this is an RFC. It's there
because it will be needed to get the tb->plugin_mask when deciding whether
to generate a mem_cb helper when generating loads/stores from TCG.

This set applies on top of:
  https://github.com/cota/qemu/tree/tcg-generic-15%2Bmulti-tcg-v4-parallel

The tree can be fetched from:
  https://github.com/cota/qemu/tree/plugins

Thanks,

		Emilio
---
 Makefile                  |   7 +-
 Makefile.objs             |   1 +
 accel/tcg/cpu-exec.c      |   6 +-
 accel/tcg/translate-all.c |   9 +-
 configure                 |  52 ++++
 include/exec/exec-all.h   |   2 +
 include/exec/tb-hash-xx.h |  26 +-
 include/exec/tb-hash.h    |   6 +-
 include/exec/tb-lookup.h  |   1 +
 include/qemu/plugin-api.h | 105 +++++++
 include/qemu/plugin.h     |  74 +++++
 include/qom/cpu.h         |   4 +
 linux-user/main.c         |  18 ++
 plugin.c                  | 519 ++++++++++++++++++++++++++++++++
 qemu-options.hx           |  17 ++
 qemu-plugins.symbols      |   6 +
 qom/cpu.c                 |   3 +
 tcg/tcg-op.c              |  10 +-
 tcg/tcg.h                 |   2 +-
 tests/qht-bench.c         |   2 +-
 vl.c                      |  10 +
 21 files changed, 857 insertions(+), 23 deletions(-)

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

end of thread, other threads:[~2017-09-26 16:16 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-06 20:28 [Qemu-devel] [RFC 0/6] initial plugin support Emilio G. Cota
2017-09-06 20:28 ` [Qemu-devel] [RFC 1/6] tcg: keep a pointer to the current TB in TCGContext Emilio G. Cota
2017-09-06 20:28 ` [Qemu-devel] [RFC 2/6] plugin: add initial plugin support Emilio G. Cota
2017-09-06 20:41   ` Emilio G. Cota
2017-09-26  4:27   ` Thomas Huth
2017-09-06 20:28 ` [Qemu-devel] [RFC 3/6] configure: add --enable-plugins Emilio G. Cota
2017-09-06 20:28 ` [Qemu-devel] [RFC 4/6] Makefile: install qemu-api.h as include/qemu-plugin.h Emilio G. Cota
2017-09-06 20:28 ` [Qemu-devel] [RFC 5/6] vl: support -plugin option Emilio G. Cota
2017-09-06 20:28 ` [Qemu-devel] [RFC 6/6] linux-user: " Emilio G. Cota
2017-09-14 14:33 ` [Qemu-devel] [RFC 0/6] initial plugin support Peter Maydell
2017-09-18 14:59 ` Stefan Hajnoczi
2017-09-18 15:05   ` Peter Maydell
2017-09-19  9:51     ` Stefan Hajnoczi
2017-09-25 18:12       ` Lluís Vilanova
2017-09-26  4:22 ` Thomas Huth
2017-09-26  9:32   ` Stefan Hajnoczi
2017-09-26 16:15   ` Emilio G. Cota

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).