All of lore.kernel.org
 help / color / mirror / Atom feed
* [PULL 0/1] Tracing patches
@ 2020-01-14  9:29 Stefan Hajnoczi
  2020-01-14 14:11 ` Peter Maydell
  0 siblings, 1 reply; 22+ messages in thread
From: Stefan Hajnoczi @ 2020-01-14  9:29 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Maydell, Stefan Hajnoczi

The following changes since commit dc65a5bdc9fa543690a775b50d4ffbeb22c56d6d:

  Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-5.0-20200108' into staging (2020-01-10 16:15:04 +0000)

are available in the Git repository at:

  https://github.com/stefanha/qemu.git tags/tracing-pull-request

for you to fetch changes up to 3f0097169bb60268cc5dda0c5ea47c31ab57b22f:

  trace: update qemu-trace-stap to Python 3 (2020-01-13 16:42:20 +0000)

----------------------------------------------------------------
Pull request

----------------------------------------------------------------

Stefan Hajnoczi (1):
  trace: update qemu-trace-stap to Python 3

 scripts/qemu-trace-stap | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
2.24.1



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

* Re: [PULL 0/1] Tracing patches
  2020-01-14  9:29 Stefan Hajnoczi
@ 2020-01-14 14:11 ` Peter Maydell
  0 siblings, 0 replies; 22+ messages in thread
From: Peter Maydell @ 2020-01-14 14:11 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: QEMU Developers

On Tue, 14 Jan 2020 at 09:29, Stefan Hajnoczi <stefanha@redhat.com> wrote:
>
> The following changes since commit dc65a5bdc9fa543690a775b50d4ffbeb22c56d6d:
>
>   Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-5.0-20200108' into staging (2020-01-10 16:15:04 +0000)
>
> are available in the Git repository at:
>
>   https://github.com/stefanha/qemu.git tags/tracing-pull-request
>
> for you to fetch changes up to 3f0097169bb60268cc5dda0c5ea47c31ab57b22f:
>
>   trace: update qemu-trace-stap to Python 3 (2020-01-13 16:42:20 +0000)
>
> ----------------------------------------------------------------
> Pull request
>
> ----------------------------------------------------------------



Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/5.0
for any user-visible changes.

-- PMM


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

* [PULL 0/1] Tracing patches
@ 2020-07-07 15:20 Stefan Hajnoczi
  2020-07-10 10:29 ` Peter Maydell
  0 siblings, 1 reply; 22+ messages in thread
From: Stefan Hajnoczi @ 2020-07-07 15:20 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Eduardo Habkost, Gerd Hoffmann, Stefan Hajnoczi,
	Cleber Rosa, Paolo Bonzini

The following changes since commit 7623b5ba017f61de5d7c2bba12c6feb3d55091b1:

  Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-5.1-pull-request' into staging (2020-07-06 11:40:10 +0100)

are available in the Git repository at:

  https://github.com/stefanha/qemu.git tags/tracing-pull-request

for you to fetch changes up to 27e08bab94f7c6ebe0b75938c98c394c969e3fd8:

  tracetool: work around ust <sys/sdt.h> include conflict (2020-07-07 16:07:14 +0100)

----------------------------------------------------------------
Pull request

Fix for a LTTng Userspace Tracer header problem.

----------------------------------------------------------------

Stefan Hajnoczi (1):
  tracetool: work around ust <sys/sdt.h> include conflict

 scripts/tracetool/backend/dtrace.py | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.26.2


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

* Re: [PULL 0/1] Tracing patches
  2020-07-07 15:20 Stefan Hajnoczi
@ 2020-07-10 10:29 ` Peter Maydell
  0 siblings, 0 replies; 22+ messages in thread
From: Peter Maydell @ 2020-07-10 10:29 UTC (permalink / raw)
  To: Stefan Hajnoczi
  Cc: Paolo Bonzini, Cleber Rosa, QEMU Developers, Eduardo Habkost,
	Gerd Hoffmann

On Tue, 7 Jul 2020 at 16:20, Stefan Hajnoczi <stefanha@redhat.com> wrote:
>
> The following changes since commit 7623b5ba017f61de5d7c2bba12c6feb3d55091b1:
>
>   Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-5.1-pull-request' into staging (2020-07-06 11:40:10 +0100)
>
> are available in the Git repository at:
>
>   https://github.com/stefanha/qemu.git tags/tracing-pull-request
>
> for you to fetch changes up to 27e08bab94f7c6ebe0b75938c98c394c969e3fd8:
>
>   tracetool: work around ust <sys/sdt.h> include conflict (2020-07-07 16:07:14 +0100)
>
> ----------------------------------------------------------------
> Pull request
>
> Fix for a LTTng Userspace Tracer header problem.
>
> ----------------------------------------------------------------
>
> Stefan Hajnoczi (1):
>   tracetool: work around ust <sys/sdt.h> include conflict
>
>  scripts/tracetool/backend/dtrace.py | 6 ++++++
>  1 file changed, 6 insertions(+)


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/5.1
for any user-visible changes.

-- PMM


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

* [PULL 0/1] Tracing patches
@ 2023-11-09  7:04 Stefan Hajnoczi
  2023-11-10  2:25 ` Stefan Hajnoczi
  0 siblings, 1 reply; 22+ messages in thread
From: Stefan Hajnoczi @ 2023-11-09  7:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: Mads Ynddal, Stefan Hajnoczi

The following changes since commit a3c3aaa846ad61b801e7196482dcf4afb8ba34e4:

  Merge tag 'pull-ppc-20231107' of https://gitlab.com/danielhb/qemu into staging (2023-11-08 20:35:00 +0800)

are available in the Git repository at:

  https://gitlab.com/stefanha/qemu.git tags/tracing-pull-request

for you to fetch changes up to 4d96307c5b4fac40c6ca25f38318b4b65d315de0:

  tracetool: avoid invalid escape in Python string (2023-11-09 15:03:02 +0800)

----------------------------------------------------------------
Pull request

----------------------------------------------------------------

Marc-André Lureau (1):
  tracetool: avoid invalid escape in Python string

 scripts/tracetool/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.41.0



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

* Re: [PULL 0/1] Tracing patches
  2023-11-09  7:04 Stefan Hajnoczi
@ 2023-11-10  2:25 ` Stefan Hajnoczi
  0 siblings, 0 replies; 22+ messages in thread
From: Stefan Hajnoczi @ 2023-11-10  2:25 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: qemu-devel, Mads Ynddal, Stefan Hajnoczi

[-- Attachment #1: Type: text/plain, Size: 115 bytes --]

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/8.2 for any user-visible changes.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* [PULL 0/1] Tracing patches
@ 2023-12-27 10:02 Stefan Hajnoczi
  0 siblings, 0 replies; 22+ messages in thread
From: Stefan Hajnoczi @ 2023-12-27 10:02 UTC (permalink / raw)
  To: qemu-devel; +Cc: Mads Ynddal, Stefan Hajnoczi

The following changes since commit 455f4440687fcee03e62d9b17b28162b638458af:

  Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging (2023-12-26 06:07:16 -0500)

are available in the Git repository at:

  https://gitlab.com/stefanha/qemu.git tags/tracing-pull-request

for you to fetch changes up to 5db052306e69faf9f875ad6dec7c823c140990e0:

  tracing: install trace events file only if necessary (2023-12-27 05:01:55 -0500)

----------------------------------------------------------------
Pull request

----------------------------------------------------------------

Carlos Santos (1):
  tracing: install trace events file only if necessary

 trace/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.43.0



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

* [PULL 0/1] Tracing patches
@ 2025-02-12 15:05 Stefan Hajnoczi
  0 siblings, 0 replies; 22+ messages in thread
From: Stefan Hajnoczi @ 2025-02-12 15:05 UTC (permalink / raw)
  To: qemu-devel; +Cc: Mads Ynddal, Stefan Hajnoczi

The following changes since commit f9edf32ea2e18a56de5d92f57e9d10565c822367:

  Merge tag 'pull-request-2025-02-11' of https://gitlab.com/thuth/qemu into staging (2025-02-11 13:27:32 -0500)

are available in the Git repository at:

  https://gitlab.com/stefanha/qemu.git tags/tracing-pull-request

for you to fetch changes up to 9976be3911a2d0503f026ae37c17077273bf30ee:

  scripts: improve error from qemu-trace-stap on missing 'stap' (2025-02-12 10:03:18 -0500)

----------------------------------------------------------------
Pull request

----------------------------------------------------------------

Daniel P. Berrangé (1):
  scripts: improve error from qemu-trace-stap on missing 'stap'

 scripts/qemu-trace-stap | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

-- 
2.48.1



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

* [PULL 0/1] Tracing patches
@ 2025-03-11  2:53 Stefan Hajnoczi
  2025-03-13  7:04 ` Stefan Hajnoczi
  0 siblings, 1 reply; 22+ messages in thread
From: Stefan Hajnoczi @ 2025-03-11  2:53 UTC (permalink / raw)
  To: qemu-devel; +Cc: Stefan Hajnoczi, Mads Ynddal

The following changes since commit 5136598e2667f35ef3dc1d757616a266bd5eb3a2:

  Merge tag 'accel-cpus-20250309' of https://github.com/philmd/qemu into staging (2025-03-10 13:40:48 +0800)

are available in the Git repository at:

  https://gitlab.com/stefanha/qemu.git tags/tracing-pull-request

for you to fetch changes up to a506a1b16702aae69a43e782f225bdc0ec6545fc:

  trace/control-target: cleanup headers and make compilation unit common (2025-03-11 10:11:29 +0800)

----------------------------------------------------------------
Pull request

A tracing cleanup.

----------------------------------------------------------------

Pierrick Bouvier (1):
  trace/control-target: cleanup headers and make compilation unit common

 trace/control-target.c | 2 --
 trace/meson.build      | 4 +---
 2 files changed, 1 insertion(+), 5 deletions(-)

-- 
2.48.1



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

* Re: [PULL 0/1] Tracing patches
  2025-03-11  2:53 Stefan Hajnoczi
@ 2025-03-13  7:04 ` Stefan Hajnoczi
  0 siblings, 0 replies; 22+ messages in thread
From: Stefan Hajnoczi @ 2025-03-13  7:04 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: qemu-devel, Stefan Hajnoczi, Mads Ynddal

[-- Attachment #1: Type: text/plain, Size: 116 bytes --]

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/10.0 for any user-visible changes.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* [PULL 0/1] Tracing patches
@ 2025-06-02 22:29 Stefan Hajnoczi
  2025-06-03 15:51 ` Stefan Hajnoczi
  0 siblings, 1 reply; 22+ messages in thread
From: Stefan Hajnoczi @ 2025-06-02 22:29 UTC (permalink / raw)
  To: qemu-devel; +Cc: Stefan Hajnoczi, Mads Ynddal

The following changes since commit 6322b753f798337835e205b6d805356bea582c86:

  Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging (2025-06-02 14:52:45 -0400)

are available in the Git repository at:

  https://gitlab.com/stefanha/qemu.git tags/tracing-pull-request

for you to fetch changes up to ffcfb0faaa95fc6ca007f7dd989e390dacf936ca:

  trace/simple: seperate hot paths of tracing fucntions (2025-06-02 16:51:36 -0400)

----------------------------------------------------------------
Pull request

----------------------------------------------------------------

Tanish Desai (1):
  trace/simple: seperate hot paths of tracing fucntions

 scripts/tracetool/backend/simple.py | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

-- 
2.49.0



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

* Re: [PULL 0/1] Tracing patches
  2025-06-02 22:29 Stefan Hajnoczi
@ 2025-06-03 15:51 ` Stefan Hajnoczi
  0 siblings, 0 replies; 22+ messages in thread
From: Stefan Hajnoczi @ 2025-06-03 15:51 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: qemu-devel, Stefan Hajnoczi, Mads Ynddal

[-- Attachment #1: Type: text/plain, Size: 116 bytes --]

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any user-visible changes.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* [PULL 0/1] Tracing patches
@ 2025-06-11 18:29 Stefan Hajnoczi
  0 siblings, 0 replies; 22+ messages in thread
From: Stefan Hajnoczi @ 2025-06-11 18:29 UTC (permalink / raw)
  To: qemu-devel
  Cc: Mahmoud Mandour, Mads Ynddal, Stefan Hajnoczi, Alexandre Iooss,
	Pierrick Bouvier, Alex Bennée

The following changes since commit bc98ffdc7577e55ab8373c579c28fe24d600c40f:

  Merge tag 'pull-10.1-maintainer-may-2025-070625-1' of https://gitlab.com/stsquad/qemu into staging (2025-06-07 15:08:55 -0400)

are available in the Git repository at:

  https://gitlab.com/stefanha/qemu.git tags/tracing-pull-request

for you to fetch changes up to 9b8a5fd79df09efa7bfd728ba9e0c95297e42afa:

  meson: fix Windows build (2025-06-11 14:18:01 -0400)

----------------------------------------------------------------
Pull request

----------------------------------------------------------------

oltolm (1):
  meson: fix Windows build

 contrib/plugins/meson.build         |  2 +-
 plugins/meson.build                 |  2 +-
 scripts/tracetool/__init__.py       | 15 ++++++++++++---
 scripts/tracetool/backend/ftrace.py |  4 +---
 scripts/tracetool/backend/log.py    |  4 +---
 scripts/tracetool/backend/syslog.py |  4 +---
 tests/functional/meson.build        |  4 +---
 tests/include/meson.build           |  2 +-
 tests/tcg/plugins/meson.build       |  2 +-
 trace/meson.build                   |  5 +++--
 10 files changed, 23 insertions(+), 21 deletions(-)

-- 
2.49.0



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

* [PULL 0/1] Tracing patches
@ 2025-07-21 18:10 Stefan Hajnoczi
  0 siblings, 0 replies; 22+ messages in thread
From: Stefan Hajnoczi @ 2025-07-21 18:10 UTC (permalink / raw)
  To: qemu-devel
  Cc: Pierrick Bouvier, Mahmoud Mandour, Stefan Hajnoczi,
	Alexandre Iooss, Alex Bennée, Mads Ynddal

The following changes since commit 56a3033abcfcf72a2f4f1376a605a0b1ad526b67:

  Merge tag 'pull-request-2025-07-21' of https://gitlab.com/thuth/qemu into staging (2025-07-21 06:34:56 -0400)

are available in the Git repository at:

  https://gitlab.com/stefanha/qemu.git tags/tracing-pull-request

for you to fetch changes up to 50700e97d85e435363ca4525754b5f00b13491c0:

  trace: log.py: human-readable timestamp (2025-07-21 14:02:52 -0400)

----------------------------------------------------------------
Pull request

----------------------------------------------------------------

Vladimir Sementsov-Ogievskiy (1):
  trace: log.py: human-readable timestamp

 scripts/tracetool/backend/log.py | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

-- 
2.50.1



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

* [PULL 0/1] Tracing patches
@ 2025-07-22 15:03 Stefan Hajnoczi
  0 siblings, 0 replies; 22+ messages in thread
From: Stefan Hajnoczi @ 2025-07-22 15:03 UTC (permalink / raw)
  To: qemu-devel
  Cc: Pierrick Bouvier, Mads Ynddal, Alex Bennée, Mahmoud Mandour,
	Stefan Hajnoczi, Alexandre Iooss

The following changes since commit ebcc602aae19c06a4f492da3920b64c8033f0d7f:

  Merge tag 'display-20250718-pull-request' of https://gitlab.com/kraxel/qemu into staging (2025-07-21 12:24:36 -0400)

are available in the Git repository at:

  https://gitlab.com/stefanha/qemu.git tags/tracing-pull-request

for you to fetch changes up to 2b1791323e7ce043cbc3857699e5d5b0ad021cbc:

  tracetool: removed the unused vcpu property (2025-07-22 10:44:49 -0400)

----------------------------------------------------------------
Pull request

Tanish's removal of the remnants of the "vcpu" property.

----------------------------------------------------------------

Tanish Desai (1):
  tracetool: removed the unused vcpu property

 scripts/tracetool/__init__.py       | 2 +-
 scripts/tracetool/backend/log.py    | 6 +-----
 scripts/tracetool/backend/simple.py | 6 +-----
 scripts/tracetool/backend/syslog.py | 6 +-----
 4 files changed, 4 insertions(+), 16 deletions(-)

-- 
2.50.1



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

* [PULL 0/1] Tracing patches
@ 2025-07-24 14:46 Stefan Hajnoczi
  2025-07-25 15:25 ` Stefan Hajnoczi
  0 siblings, 1 reply; 22+ messages in thread
From: Stefan Hajnoczi @ 2025-07-24 14:46 UTC (permalink / raw)
  To: qemu-devel
  Cc: Pierrick Bouvier, Mahmoud Mandour, Mads Ynddal, Alexandre Iooss,
	Stefan Hajnoczi, Alex Bennée

The following changes since commit 9e601684dc24a521bb1d23215a63e5c6e79ea0bb:

  Update version for the v10.1.0-rc0 release (2025-07-22 15:48:48 -0400)

are available in the Git repository at:

  https://gitlab.com/stefanha/qemu.git tags/tracing-pull-request

for you to fetch changes up to 012842c075520dbe1bd96a2fdcf4e218874ba443:

  log: make '-msg timestamp=on' apply to all qemu_log usage (2025-07-24 10:12:21 -0400)

----------------------------------------------------------------
Pull request

This commit is still worth having in QEMU 10.1 for the all-round improvements
made (consistent timestamping, binary size reduction, header pollution cleanup)
even if it's debatable whether this is a bug fix.

----------------------------------------------------------------

Daniel P. Berrangé (1):
  log: make '-msg timestamp=on' apply to all qemu_log usage

 util/log.c                       | 20 +++++++++++++++++++-
 scripts/tracetool/backend/log.py | 14 +-------------
 2 files changed, 20 insertions(+), 14 deletions(-)

-- 
2.50.1



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

* Re: [PULL 0/1] Tracing patches
  2025-07-24 14:46 Stefan Hajnoczi
@ 2025-07-25 15:25 ` Stefan Hajnoczi
  0 siblings, 0 replies; 22+ messages in thread
From: Stefan Hajnoczi @ 2025-07-25 15:25 UTC (permalink / raw)
  To: Stefan Hajnoczi
  Cc: qemu-devel, Pierrick Bouvier, Mahmoud Mandour, Mads Ynddal,
	Alexandre Iooss, Stefan Hajnoczi, Alex Bennée

[-- Attachment #1: Type: text/plain, Size: 116 bytes --]

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any user-visible changes.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* [PULL 0/1] Tracing patches
@ 2026-02-10 20:14 Stefan Hajnoczi
  2026-02-10 20:14 ` [PULL 1/1] tracetool-test: add QEMU_TEST_KEEP_SCRATCH=1 support Stefan Hajnoczi
  2026-02-11 15:12 ` [PULL 0/1] Tracing patches Peter Maydell
  0 siblings, 2 replies; 22+ messages in thread
From: Stefan Hajnoczi @ 2026-02-10 20:14 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Maydell, Stefan Hajnoczi

The following changes since commit 0b91040d23dc8820724a60c811223b777f3bc6b7:

  Merge tag 'pull-loongarch-20260210' of https://github.com/gaosong715/qemu into staging (2026-02-10 09:12:38 +0000)

are available in the Git repository at:

  https://gitlab.com/stefanha/qemu.git tags/tracing-pull-request

for you to fetch changes up to 80c15bcc5eb6d30abf90b2fd120cdf01f6ed2082:

  tracetool-test: add QEMU_TEST_KEEP_SCRATCH=1 support (2026-02-10 14:47:14 -0500)

----------------------------------------------------------------
Pull request

----------------------------------------------------------------

Stefan Hajnoczi (1):
  tracetool-test: add QEMU_TEST_KEEP_SCRATCH=1 support

 tests/tracetool/tracetool-test.py | 24 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)

-- 
2.52.0



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

* [PULL 1/1] tracetool-test: add QEMU_TEST_KEEP_SCRATCH=1 support
  2026-02-10 20:14 [PULL 0/1] Tracing patches Stefan Hajnoczi
@ 2026-02-10 20:14 ` Stefan Hajnoczi
  2026-02-11 15:12 ` [PULL 0/1] Tracing patches Peter Maydell
  1 sibling, 0 replies; 22+ messages in thread
From: Stefan Hajnoczi @ 2026-02-10 20:14 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Maydell, Stefan Hajnoczi

It can be useful to preserve the temporary files generated by the test
for manual inspection or diffing against expected output.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20251118183915.177192-1-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
 tests/tracetool/tracetool-test.py | 24 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)

diff --git a/tests/tracetool/tracetool-test.py b/tests/tracetool/tracetool-test.py
index 59e9ab3d6e..b99a0cd6d2 100755
--- a/tests/tracetool/tracetool-test.py
+++ b/tests/tracetool/tracetool-test.py
@@ -9,6 +9,9 @@
 import tempfile
 
 
+DELETE_TEMPFILE = not os.getenv("QEMU_TEST_KEEP_SCRATCH", False)
+
+
 def get_formats(backend):
     formats = [
         "c",
@@ -50,7 +53,8 @@ def test_tracetool_one(tracetool, backend, fmt, src_dir, build_dir):
         check_call(args, cwd=build_dir)
         actual = actual_file.read_text()
     finally:
-        actual_file.unlink()
+        if DELETE_TEMPFILE:
+            actual_file.unlink()
 
     if os.getenv("QEMU_TEST_REGENERATE", False):
         print(f"# regenerate {expect_file}")
@@ -85,14 +89,25 @@ def test_tracetool(tracetool, backend, source_dir, build_dir):
             except Exception as e:
                 print(f"# {e}")
                 fail = True
+
+                if DELETE_TEMPFILE:
+                    tempfile_hint = (
+                        "QEMU_TEST_KEEP_SCRATCH=1 to preserve test output "
+                        + "files"
+                    )
+                else:
+                    tempfile_hint = f"check test output files in {build_dir}"
+
                 hint = (
                     " (set QEMU_TEST_REGENERATE=1 to recreate reference "
-                    + "output if tracetool generator was intentionally changed)"
+                    + "output if tracetool generator was intentionally "
+                    + "changed or " + tempfile_hint + ")"
                 )
             finally:
                 print(f"{status} {num} - {backend}.{fmt}{hint}")
     finally:
-        build_events.unlink()
+        if DELETE_TEMPFILE:
+            build_events.unlink()
 
     return fail
 
@@ -103,7 +118,8 @@ def test_tracetool(tracetool, backend, source_dir, build_dir):
         print("syntax: {argv0} TRACE-TOOL BACKEND SRC-DIR BUILD-DIR", file=sys.stderr)
         sys.exit(1)
 
-    with tempfile.TemporaryDirectory(prefix=sys.argv[4]) as tmpdir:
+    with tempfile.TemporaryDirectory(prefix=sys.argv[4],
+                                     delete=DELETE_TEMPFILE) as tmpdir:
         fail = test_tracetool(sys.argv[1], sys.argv[2], sys.argv[3], tmpdir)
         if fail:
             sys.exit(1)
-- 
2.52.0



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

* Re: [PULL 0/1] Tracing patches
  2026-02-10 20:14 [PULL 0/1] Tracing patches Stefan Hajnoczi
  2026-02-10 20:14 ` [PULL 1/1] tracetool-test: add QEMU_TEST_KEEP_SCRATCH=1 support Stefan Hajnoczi
@ 2026-02-11 15:12 ` Peter Maydell
  2026-02-11 15:21   ` Daniel P. Berrangé
  1 sibling, 1 reply; 22+ messages in thread
From: Peter Maydell @ 2026-02-11 15:12 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: qemu-devel

On Tue, 10 Feb 2026 at 20:14, Stefan Hajnoczi <stefanha@redhat.com> wrote:
>
> The following changes since commit 0b91040d23dc8820724a60c811223b777f3bc6b7:
>
>   Merge tag 'pull-loongarch-20260210' of https://github.com/gaosong715/qemu into staging (2026-02-10 09:12:38 +0000)
>
> are available in the Git repository at:
>
>   https://gitlab.com/stefanha/qemu.git tags/tracing-pull-request
>
> for you to fetch changes up to 80c15bcc5eb6d30abf90b2fd120cdf01f6ed2082:
>
>   tracetool-test: add QEMU_TEST_KEEP_SCRATCH=1 support (2026-02-10 14:47:14 -0500)
>
> ----------------------------------------------------------------
> Pull request
>
> ----------------------------------------------------------------
>
> Stefan Hajnoczi (1):
>   tracetool-test: add QEMU_TEST_KEEP_SCRATCH=1 support
>
>  tests/tracetool/tracetool-test.py | 24 ++++++++++++++++++++----
>  1 file changed, 20 insertions(+), 4 deletions(-)

This change seems to use some Python construct not supported
by all our platforms. CI job failures due to the tracetool tests
failing:

https://gitlab.com/qemu-project/qemu/-/jobs/13074647460
https://gitlab.com/qemu-project/qemu/-/jobs/13074647473

Traceback (most recent call last):
  File "/builds/qemu-project/qemu/tests/tracetool/tracetool-test.py",
line 121, in <module>
    with tempfile.TemporaryDirectory(prefix=sys.argv[4],
TypeError: __init__() got an unexpected keyword argument 'delete'


thanks
-- PMM


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

* Re: [PULL 0/1] Tracing patches
  2026-02-11 15:12 ` [PULL 0/1] Tracing patches Peter Maydell
@ 2026-02-11 15:21   ` Daniel P. Berrangé
  2026-02-11 20:00     ` Stefan Hajnoczi
  0 siblings, 1 reply; 22+ messages in thread
From: Daniel P. Berrangé @ 2026-02-11 15:21 UTC (permalink / raw)
  To: Peter Maydell; +Cc: Stefan Hajnoczi, qemu-devel

On Wed, Feb 11, 2026 at 03:12:18PM +0000, Peter Maydell wrote:
> On Tue, 10 Feb 2026 at 20:14, Stefan Hajnoczi <stefanha@redhat.com> wrote:
> >
> > The following changes since commit 0b91040d23dc8820724a60c811223b777f3bc6b7:
> >
> >   Merge tag 'pull-loongarch-20260210' of https://github.com/gaosong715/qemu into staging (2026-02-10 09:12:38 +0000)
> >
> > are available in the Git repository at:
> >
> >   https://gitlab.com/stefanha/qemu.git tags/tracing-pull-request
> >
> > for you to fetch changes up to 80c15bcc5eb6d30abf90b2fd120cdf01f6ed2082:
> >
> >   tracetool-test: add QEMU_TEST_KEEP_SCRATCH=1 support (2026-02-10 14:47:14 -0500)
> >
> > ----------------------------------------------------------------
> > Pull request
> >
> > ----------------------------------------------------------------
> >
> > Stefan Hajnoczi (1):
> >   tracetool-test: add QEMU_TEST_KEEP_SCRATCH=1 support
> >
> >  tests/tracetool/tracetool-test.py | 24 ++++++++++++++++++++----
> >  1 file changed, 20 insertions(+), 4 deletions(-)
> 
> This change seems to use some Python construct not supported
> by all our platforms. CI job failures due to the tracetool tests
> failing:
> 
> https://gitlab.com/qemu-project/qemu/-/jobs/13074647460
> https://gitlab.com/qemu-project/qemu/-/jobs/13074647473
> 
> Traceback (most recent call last):
>   File "/builds/qemu-project/qemu/tests/tracetool/tracetool-test.py",
> line 121, in <module>
>     with tempfile.TemporaryDirectory(prefix=sys.argv[4],
> TypeError: __init__() got an unexpected keyword argument 'delete'

Yep, that's too new to rely on:

  https://docs.python.org/3/library/tempfile.html#tempfile.TemporaryDirectory

  Changed in version 3.12: Added the delete parameter.


since this is just a debugging aid, perhaps only set the 'delete' param
when we know python is new enough, and don't bother trying to make
QEMU_TEST_KEEP_SCRATCH=1 work on older python

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



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

* Re: [PULL 0/1] Tracing patches
  2026-02-11 15:21   ` Daniel P. Berrangé
@ 2026-02-11 20:00     ` Stefan Hajnoczi
  0 siblings, 0 replies; 22+ messages in thread
From: Stefan Hajnoczi @ 2026-02-11 20:00 UTC (permalink / raw)
  To: Daniel P. Berrangé; +Cc: Peter Maydell, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 2192 bytes --]

On Wed, Feb 11, 2026 at 03:21:07PM +0000, Daniel P. Berrangé wrote:
> On Wed, Feb 11, 2026 at 03:12:18PM +0000, Peter Maydell wrote:
> > On Tue, 10 Feb 2026 at 20:14, Stefan Hajnoczi <stefanha@redhat.com> wrote:
> > >
> > > The following changes since commit 0b91040d23dc8820724a60c811223b777f3bc6b7:
> > >
> > >   Merge tag 'pull-loongarch-20260210' of https://github.com/gaosong715/qemu into staging (2026-02-10 09:12:38 +0000)
> > >
> > > are available in the Git repository at:
> > >
> > >   https://gitlab.com/stefanha/qemu.git tags/tracing-pull-request
> > >
> > > for you to fetch changes up to 80c15bcc5eb6d30abf90b2fd120cdf01f6ed2082:
> > >
> > >   tracetool-test: add QEMU_TEST_KEEP_SCRATCH=1 support (2026-02-10 14:47:14 -0500)
> > >
> > > ----------------------------------------------------------------
> > > Pull request
> > >
> > > ----------------------------------------------------------------
> > >
> > > Stefan Hajnoczi (1):
> > >   tracetool-test: add QEMU_TEST_KEEP_SCRATCH=1 support
> > >
> > >  tests/tracetool/tracetool-test.py | 24 ++++++++++++++++++++----
> > >  1 file changed, 20 insertions(+), 4 deletions(-)
> > 
> > This change seems to use some Python construct not supported
> > by all our platforms. CI job failures due to the tracetool tests
> > failing:
> > 
> > https://gitlab.com/qemu-project/qemu/-/jobs/13074647460
> > https://gitlab.com/qemu-project/qemu/-/jobs/13074647473
> > 
> > Traceback (most recent call last):
> >   File "/builds/qemu-project/qemu/tests/tracetool/tracetool-test.py",
> > line 121, in <module>
> >     with tempfile.TemporaryDirectory(prefix=sys.argv[4],
> > TypeError: __init__() got an unexpected keyword argument 'delete'
> 
> Yep, that's too new to rely on:
> 
>   https://docs.python.org/3/library/tempfile.html#tempfile.TemporaryDirectory
> 
>   Changed in version 3.12: Added the delete parameter.
> 
> 
> since this is just a debugging aid, perhaps only set the 'delete' param
> when we know python is new enough, and don't bother trying to make
> QEMU_TEST_KEEP_SCRATCH=1 work on older python

Thanks, for tracking this down. I'm going to drop the patch.

Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

end of thread, other threads:[~2026-02-12 18:55 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-10 20:14 [PULL 0/1] Tracing patches Stefan Hajnoczi
2026-02-10 20:14 ` [PULL 1/1] tracetool-test: add QEMU_TEST_KEEP_SCRATCH=1 support Stefan Hajnoczi
2026-02-11 15:12 ` [PULL 0/1] Tracing patches Peter Maydell
2026-02-11 15:21   ` Daniel P. Berrangé
2026-02-11 20:00     ` Stefan Hajnoczi
  -- strict thread matches above, loose matches on Subject: below --
2025-07-24 14:46 Stefan Hajnoczi
2025-07-25 15:25 ` Stefan Hajnoczi
2025-07-22 15:03 Stefan Hajnoczi
2025-07-21 18:10 Stefan Hajnoczi
2025-06-11 18:29 Stefan Hajnoczi
2025-06-02 22:29 Stefan Hajnoczi
2025-06-03 15:51 ` Stefan Hajnoczi
2025-03-11  2:53 Stefan Hajnoczi
2025-03-13  7:04 ` Stefan Hajnoczi
2025-02-12 15:05 Stefan Hajnoczi
2023-12-27 10:02 Stefan Hajnoczi
2023-11-09  7:04 Stefan Hajnoczi
2023-11-10  2:25 ` Stefan Hajnoczi
2020-07-07 15:20 Stefan Hajnoczi
2020-07-10 10:29 ` Peter Maydell
2020-01-14  9:29 Stefan Hajnoczi
2020-01-14 14:11 ` Peter Maydell

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.