[PATCH RFC 0/1] tcg: add perfmap and jitdump

Ilya Leoshkevich posted 1 patch 3 years, 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20221012051846.1432050-1-iii@linux.ibm.com
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, Laurent Vivier <laurent@vivier.eu>
There is a newer version of this series
accel/tcg/debuginfo.c     | 108 +++++++++++++
accel/tcg/debuginfo.h     |  54 +++++++
accel/tcg/meson.build     |   2 +
accel/tcg/perf.c          | 333 ++++++++++++++++++++++++++++++++++++++
accel/tcg/perf.h          |  28 ++++
accel/tcg/translate-all.c |   3 +
docs/devel/tcg.rst        |  20 +++
linux-user/elfload.c      |   3 +
linux-user/exit.c         |   2 +
linux-user/main.c         |  15 ++
linux-user/meson.build    |   1 +
meson.build               |   8 +
qemu-options.hx           |  20 +++
softmmu/vl.c              |  11 ++
tcg/tcg.c                 |   2 +
15 files changed, 610 insertions(+)
create mode 100644 accel/tcg/debuginfo.c
create mode 100644 accel/tcg/debuginfo.h
create mode 100644 accel/tcg/perf.c
create mode 100644 accel/tcg/perf.h
[PATCH RFC 0/1] tcg: add perfmap and jitdump
Posted by Ilya Leoshkevich 3 years, 3 months ago
Hi,

This is a rework of jitdump and perfmap patches from Vanderson and
Alex:

- jitdump: https://wiki.qemu.org/Features/TCGCodeQuality

  v1: https://lists.gnu.org/archive/html/qemu-devel/2019-08/msg02676.html
  v2: https://lore.kernel.org/qemu-devel/20190830121903.17585-1-vandersonmr2@gmail.com/
  v9: https://www.mail-archive.com/qemu-devel@nongnu.org/msg650269.html

- perfmap

  rfc: https://lists.nongnu.org/archive/html/qemu-devel/2014-03/msg05386.html
  v2: https://lists.gnu.org/archive/html/qemu-devel/2014-07/msg02061.html
  v3: https://lists.gnu.org/archive/html/qemu-devel/2014-07/msg04289.html
  v4: https://lists.gnu.org/archive/html/qemu-devel/2015-08/msg00095.html

It addresses some of the feedback (among other things: symlink attacks,
Elf64_Ehdr on 32-bit hosts, flockfile, license headers, style) and adds
debuginfo support.

Best regards,
Ilya

Ilya Leoshkevich (1):
  tcg: add perfmap and jitdump

 accel/tcg/debuginfo.c     | 108 +++++++++++++
 accel/tcg/debuginfo.h     |  54 +++++++
 accel/tcg/meson.build     |   2 +
 accel/tcg/perf.c          | 333 ++++++++++++++++++++++++++++++++++++++
 accel/tcg/perf.h          |  28 ++++
 accel/tcg/translate-all.c |   3 +
 docs/devel/tcg.rst        |  20 +++
 linux-user/elfload.c      |   3 +
 linux-user/exit.c         |   2 +
 linux-user/main.c         |  15 ++
 linux-user/meson.build    |   1 +
 meson.build               |   8 +
 qemu-options.hx           |  20 +++
 softmmu/vl.c              |  11 ++
 tcg/tcg.c                 |   2 +
 15 files changed, 610 insertions(+)
 create mode 100644 accel/tcg/debuginfo.c
 create mode 100644 accel/tcg/debuginfo.h
 create mode 100644 accel/tcg/perf.c
 create mode 100644 accel/tcg/perf.h

-- 
2.37.2