<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/trace, branch master</title>
<subtitle>QEMU development tree</subtitle>
<id>https://git.zx2c4.com/qemu/atom/trace?h=master</id>
<link rel='self' href='https://git.zx2c4.com/qemu/atom/trace?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/'/>
<updated>2024-06-04T09:53:43Z</updated>
<entry>
<title>trace: Remove deprecated 'vcpu' field from QMP trace events</title>
<updated>2024-06-04T09:53:43Z</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
<email>philmd@linaro.org</email>
</author>
<published>2024-05-30T06:59:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=7ffc4894a63b6c42837d4a1066e536073bccd39d'/>
<id>urn:sha1:7ffc4894a63b6c42837d4a1066e536073bccd39d</id>
<content type='text'>
'vcpu' fields are deprecated since commit 5485e52a33
("qapi: make the vcpu parameters deprecated for 8.1"),
time to remove them.

Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Reviewed-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Message-Id: &lt;20240530071548.20074-3-philmd@linaro.org&gt;
</content>
</entry>
<entry>
<title>tracing: install trace events file only if necessary</title>
<updated>2023-12-27T10:01:55Z</updated>
<author>
<name>Carlos Santos</name>
<email>casantos@redhat.com</email>
</author>
<published>2023-04-08T01:04:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=5db052306e69faf9f875ad6dec7c823c140990e0'/>
<id>urn:sha1:5db052306e69faf9f875ad6dec7c823c140990e0</id>
<content type='text'>
It is not useful when configuring with --enable-trace-backends=nop.

Signed-off-by: Carlos Santos &lt;casantos@redhat.com&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-ID: &lt;20230408010410.281263-1-casantos@redhat.com&gt;
</content>
</entry>
<entry>
<title>trace/control: Clean up global variable shadowing</title>
<updated>2023-10-06T11:27:48Z</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
<email>philmd@linaro.org</email>
</author>
<published>2023-10-04T12:00:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=8b7b9c5c88a8886312d3b9bc5e3615d21df143b6'/>
<id>urn:sha1:8b7b9c5c88a8886312d3b9bc5e3615d21df143b6</id>
<content type='text'>
Fix:

  trace/control.c:288:34: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
  void trace_opt_parse(const char *optarg)
                                   ^
  /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/getopt.h:77:14: note: previous declaration is here
  extern char *optarg;                    /* getopt(3) external variables */
               ^

Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Message-ID: &lt;20231004120019.93101-17-philmd@linaro.org&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
</content>
</entry>
<entry>
<title>meson: Replace softmmu_ss -&gt; system_ss</title>
<updated>2023-06-20T08:01:30Z</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
<email>philmd@linaro.org</email>
</author>
<published>2023-06-13T13:33:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=de6cd7599b518f0c832cc85980196ec02c129a86'/>
<id>urn:sha1:de6cd7599b518f0c832cc85980196ec02c129a86</id>
<content type='text'>
We use the user_ss[] array to hold the user emulation sources,
and the softmmu_ss[] array to hold the system emulation ones.
Hold the latter in the 'system_ss[]' array for parity with user
emulation.

Mechanical change doing:

  $ sed -i -e s/softmmu_ss/system_ss/g $(git grep -l softmmu_ss)

Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20230613133347.82210-10-philmd@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>trace: remove control-vcpu.h</title>
<updated>2023-06-01T15:05:05Z</updated>
<author>
<name>Alex Bennée</name>
<email>alex.bennee@linaro.org</email>
</author>
<published>2023-05-26T16:53:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=333df1c6c7a388ddccaaa041b4fa2ce565d1255e'/>
<id>urn:sha1:333df1c6c7a388ddccaaa041b4fa2ce565d1255e</id>
<content type='text'>
Now we no longer have vcpu controlled trace events we can excise the
code that allows us to query its status.

Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-id: 20230526165401.574474-9-alex.bennee@linaro.org
Message-Id: &lt;20230524133952.3971948-8-alex.bennee@linaro.org&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>trace: remove code that depends on setting vcpu</title>
<updated>2023-06-01T15:05:05Z</updated>
<author>
<name>Alex Bennée</name>
<email>alex.bennee@linaro.org</email>
</author>
<published>2023-05-26T16:53:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=89aafcf2a79307b7d658b174e2d649dd63365bd1'/>
<id>urn:sha1:89aafcf2a79307b7d658b174e2d649dd63365bd1</id>
<content type='text'>
Now we no longer have any events that are for vcpus we can start
excising the code from the trace control. As the vcpu parameter is
encoded as part of QMP we just stub out the has_vcpu/vcpu parameters
rather than alter the API.

Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-id: 20230526165401.574474-8-alex.bennee@linaro.org
Message-Id: &lt;20230524133952.3971948-7-alex.bennee@linaro.org&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>trace: remove vcpu_id from the TraceEvent structure</title>
<updated>2023-06-01T15:05:05Z</updated>
<author>
<name>Alex Bennée</name>
<email>alex.bennee@linaro.org</email>
</author>
<published>2023-05-26T16:53:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=710320137099b8d86cedb4f58de2455acd58cbde'/>
<id>urn:sha1:710320137099b8d86cedb4f58de2455acd58cbde</id>
<content type='text'>
This does involve temporarily stubbing out some helper functions
before we excise the rest of the code.

Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-id: 20230526165401.574474-4-alex.bennee@linaro.org
Message-Id: &lt;20230524133952.3971948-4-alex.bennee@linaro.org&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>trace-events: remove the remaining vcpu trace events</title>
<updated>2023-06-01T15:05:05Z</updated>
<author>
<name>Alex Bennée</name>
<email>alex.bennee@linaro.org</email>
</author>
<published>2023-05-26T16:53:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=78f314cf8349a76a757dbcc4da88bf9a0b20d3a1'/>
<id>urn:sha1:78f314cf8349a76a757dbcc4da88bf9a0b20d3a1</id>
<content type='text'>
While these are all in helper functions being designated vcpu events
complicates the removal of the dynamic vcpu state code. TCG plugins
allow you to instrument vcpu_[init|exit|idle].

We rename cpu_reset and make it a normal trace point.

Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-id: 20230526165401.574474-3-alex.bennee@linaro.org
Message-Id: &lt;20230524133952.3971948-3-alex.bennee@linaro.org&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>cpu: expose qemu_cpu_list_lock for lock-guard use</title>
<updated>2023-05-11T08:53:41Z</updated>
<author>
<name>Jamie Iles</name>
<email>quic_jiles@quicinc.com</email>
</author>
<published>2023-04-27T02:09:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=370ed600296982a0248b091915c8e8893508d8a3'/>
<id>urn:sha1:370ed600296982a0248b091915c8e8893508d8a3</id>
<content type='text'>
Expose qemu_cpu_list_lock globally so that we can use
WITH_QEMU_LOCK_GUARD and QEMU_LOCK_GUARD to simplify a few code paths
now and in future.

Signed-off-by: Jamie Iles &lt;quic_jiles@quicinc.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20230427020925.51003-2-quic_jiles@quicinc.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>trace: Do not try to include QMP commands in user emulation binaries</title>
<updated>2023-02-27T21:29:01Z</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
<email>philmd@linaro.org</email>
</author>
<published>2022-12-20T15:00:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=5ac034b1c2b2c4ec5508564fe1db37feac38be29'/>
<id>urn:sha1:5ac034b1c2b2c4ec5508564fe1db37feac38be29</id>
<content type='text'>
QMP is not available on user emulation; there is not monitor.
Besides, since commit a0e61807a3 ("qapi: Remove QMP events
and commands from user-mode builds") we don't generate the
qapi-commands-trace.h header in a user-emulation-only build.

Remove the QMP trace commands from qemu-user binaries.

Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Acked-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20221220150417.26751-1-philmd@linaro.org&gt;
</content>
</entry>
</feed>
