mbox series

[v1,00/28] testing, plugins and gdbstub for 6.2

Message ID 20211026102234.3961636-1-alex.bennee@linaro.org
Headers show
Series testing, plugins and gdbstub for 6.2 | expand

Message

Alex Bennée Oct. 26, 2021, 10:22 a.m. UTC
Hi,

This is an omnibus series covering a bunch of my maintainer trees. We
have updates to testing from Richard which expands the testing nios2
and microblaze along with an update to the hexagon images. There is
also a patch from Paolo that fixes a linux-user build issue that
hasn't been merged yet. The L2 updates for Mahmoud's cache modelling
plugin. A couple of gdbstub and plugin bug fixes and a new plugin for
code coverage (using drcov format). Finally I've started clearing out
the old broken TCG tracing support.

The following still need review:

- tests/tcg: remove duplicate EXTRA_RUNS
- tracing: excise the tcg related from tracetool
- tracing: remove the trace-tcg includes from the build
- tracing: remove TCG memory access tracing
- docs: remove references to TCG tracing
- plugins: try and make plugin_insn_append more ergonomic
- tests/plugins: extend the insn plugin to track opcode sizes
- tests/tcg: enable debian-nios2-cross for test building
- tests/docker: allow non-unique userid
- tests/docker: split PARTIAL into PARTIAL and VIRTUAL images

Alex Bennée (11):
  tests/docker: split PARTIAL into PARTIAL and VIRTUAL images
  tests/docker: allow non-unique userid
  tests/tcg: enable debian-nios2-cross for test building
  chardev: don't exit() straight away on C-a x
  tests/plugins: extend the insn plugin to track opcode sizes
  plugins: try and make plugin_insn_append more ergonomic
  docs: remove references to TCG tracing
  tracing: remove TCG memory access tracing
  tracing: remove the trace-tcg includes from the build
  tracing: excise the tcg related from tracetool
  tests/tcg: remove duplicate EXTRA_RUNS

Brian Cain (1):
  tests/docker: Update debian-hexagon-cross to a newer toolchain

Ivanov Arkady (2):
  plugins: add helper functions for coverage plugins
  contrib/plugins: add a drcov plugin

Mahmoud Mandour (5):
  plugins/cache: freed heap-allocated mutexes
  plugins/cache: implement unified L2 cache emulation
  plugins/cache: split command line arguments into name and value
  plugins/cache: make L2 emulation optional through args
  docs/tcg-plugins: add L2 arguments to cache docs

Paolo Bonzini (1):
  ebpf: really include it only in system emulators

Pavel Labath (1):
  gdbstub: Switch to the thread receiving a signal

Philippe Mathieu-Daudé (1):
  tests/tcg: Fix some targets default cross compiler path

Richard Henderson (6):
  tests/docker: Use apt build-dep in debian10
  tests/docker: Simplify debian-all-test-cross
  gitlab-ci: Remove special casing for hexagon testing
  tests/docker: Add debian-nios2-cross image
  tests/docker: Add debian-microblaze-cross image
  tests/tcg: Enable container_cross_cc for microblaze

 docs/about/removed-features.rst               |  13 +
 docs/devel/tcg-plugins.rst                    |  20 +-
 docs/devel/tracing.rst                        |  85 -----
 meson.build                                   |   6 -
 accel/tcg/atomic_template.h                   |  12 -
 include/exec/helper-gen.h                     |   2 -
 include/exec/helper-proto.h                   |   1 -
 include/exec/helper-tcg.h                     |   1 -
 include/exec/plugin-gen.h                     |  12 +-
 include/qemu/plugin.h                         |   7 +-
 include/qemu/qemu-plugin.h                    |  34 ++
 include/trace-tcg.h                           |   6 -
 accel/tcg/cputlb.c                            |   2 -
 accel/tcg/plugin-gen.c                        |   3 +-
 accel/tcg/translator.c                        |   2 +-
 accel/tcg/user-exec.c                         |  15 +-
 chardev/char-mux.c                            |   3 +-
 contrib/plugins/cache.c                       | 318 +++++++++++++-----
 contrib/plugins/drcov.c                       | 163 +++++++++
 gdbstub.c                                     |   8 +-
 plugins/api.c                                 |  46 +++
 stubs/qmp-quit.c                              |   8 +
 tcg/tcg-op.c                                  |   5 -
 tests/plugin/insn.c                           |  37 +-
 accel/tcg/atomic_common.c.inc                 |  20 --
 .gitlab-ci.d/buildtest.yml                    |   4 -
 .gitlab-ci.d/container-cross.yml              |  27 +-
 MAINTAINERS                                   |   4 +-
 contrib/plugins/Makefile                      |   1 +
 plugins/qemu-plugins.symbols                  |   4 +
 scripts/tracetool/__init__.py                 |  41 +--
 scripts/tracetool/format/tcg_h.py             |  83 -----
 scripts/tracetool/format/tcg_helper_c.py      |  79 -----
 scripts/tracetool/format/tcg_helper_h.py      |  48 ---
 .../tracetool/format/tcg_helper_wrapper_h.py  |  70 ----
 scripts/tracetool/vcpu.py                     |  14 +-
 stubs/meson.build                             |   1 +
 tests/docker/Makefile.include                 |  59 ++--
 tests/docker/docker.py                        |   4 +-
 .../dockerfiles/debian-all-test-cross.docker  |   5 -
 .../dockerfiles/debian-hexagon-cross.docker   |  45 +--
 .../build-toolchain.sh                        | 141 --------
 .../build-toolchain.sh                        |  88 +++++
 .../debian-nios2-cross.d/build-toolchain.sh   |  87 +++++
 .../dockerfiles/debian-toolchain.docker       |  36 ++
 tests/docker/dockerfiles/debian10.docker      |   9 +-
 tests/tcg/configure.sh                        |  26 +-
 tests/tcg/multiarch/Makefile.target           |  12 +-
 .../gdbstub/test-thread-breakpoint.py         |  60 ++++
 tests/tcg/nios2/Makefile.target               |  11 +
 trace-events                                  |  14 -
 trace/meson.build                             |  14 -
 52 files changed, 945 insertions(+), 871 deletions(-)
 delete mode 100644 include/trace-tcg.h
 create mode 100644 contrib/plugins/drcov.c
 create mode 100644 stubs/qmp-quit.c
 delete mode 100644 scripts/tracetool/format/tcg_h.py
 delete mode 100644 scripts/tracetool/format/tcg_helper_c.py
 delete mode 100644 scripts/tracetool/format/tcg_helper_h.py
 delete mode 100644 scripts/tracetool/format/tcg_helper_wrapper_h.py
 delete mode 100755 tests/docker/dockerfiles/debian-hexagon-cross.docker.d/build-toolchain.sh
 create mode 100755 tests/docker/dockerfiles/debian-microblaze-cross.d/build-toolchain.sh
 create mode 100755 tests/docker/dockerfiles/debian-nios2-cross.d/build-toolchain.sh
 create mode 100644 tests/docker/dockerfiles/debian-toolchain.docker
 create mode 100644 tests/tcg/multiarch/gdbstub/test-thread-breakpoint.py
 create mode 100644 tests/tcg/nios2/Makefile.target

-- 
2.30.2