qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 07/10] trace: remove control-vcpu.h


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 07/10] trace: remove control-vcpu.h
Date: Fri, 21 Apr 2023 08:50:23 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

On 20/4/23 17:00, Alex Bennée wrote:
Now we no longer have vcpu controlled trace events we can excise the
code that allows us to query its status.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
  trace/control-vcpu.h          | 47 -----------------------------------
  trace/qmp.c                   |  2 +-
  scripts/tracetool/format/h.py |  5 +---
  3 files changed, 2 insertions(+), 52 deletions(-)
  delete mode 100644 trace/control-vcpu.h


diff --git a/scripts/tracetool/format/h.py b/scripts/tracetool/format/h.py
index 285d7b03a9..ea126b07ea 100644
--- a/scripts/tracetool/format/h.py
+++ b/scripts/tracetool/format/h.py
@@ -16,10 +16,7 @@
def generate(events, backend, group):
-    if group == "root":
-        header = "trace/control-vcpu.h"
-    else:
-        header = "trace/control.h"
+    header = "trace/control.h"

Just include it in place in the template :) With that:

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

out('/* This file is autogenerated by tracetool, do not edit. */',
          '',




reply via email to

[Prev in Thread] Current Thread [Next in Thread]