<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/scripts/tracetool, branch master</title>
<subtitle>QEMU development tree</subtitle>
<id>https://git.zx2c4.com/qemu/atom/scripts/tracetool?h=master</id>
<link rel='self' href='https://git.zx2c4.com/qemu/atom/scripts/tracetool?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/'/>
<updated>2024-06-10T17:05:27Z</updated>
<entry>
<title>tracetool: Forbid newline character in event format</title>
<updated>2024-06-10T17:05:27Z</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
<email>philmd@linaro.org</email>
</author>
<published>2024-06-06T10:39:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=4c2b6f328742084a5bd770af7c3a2ef07828c41c'/>
<id>urn:sha1:4c2b6f328742084a5bd770af7c3a2ef07828c41c</id>
<content type='text'>
Events aren't designed to be multi-lines. Multiple events
can be used instead. Prevent that format using multi-lines
by forbidding the newline character.

Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Acked-by: Mads Ynddal &lt;mads@ynddal.dk&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Message-id: 20240606103943.79116-6-philmd@linaro.org
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>tracetool: Remove unused vcpu.py script</title>
<updated>2024-06-10T14:14:10Z</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
<email>philmd@linaro.org</email>
</author>
<published>2024-06-06T10:26:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=0e2b9edfb6126fd9ce235a1b34ba20bbeb2547ae'/>
<id>urn:sha1:0e2b9edfb6126fd9ce235a1b34ba20bbeb2547ae</id>
<content type='text'>
vcpu.py is pointless since commit 89aafcf2a7 ("trace:
remove code that depends on setting vcpu"), remote it.

Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Reviewed-by: Zhao Liu &lt;zhao1.liu@intel.com&gt;
Message-id: 20240606102631.78152-1-philmd@linaro.org
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>tracetool: avoid invalid escape in Python string</title>
<updated>2023-11-09T07:03:02Z</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2023-11-08T10:56:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=4d96307c5b4fac40c6ca25f38318b4b65d315de0'/>
<id>urn:sha1:4d96307c5b4fac40c6ca25f38318b4b65d315de0</id>
<content type='text'>
This is an error in Python 3.12; fix it by using a raw string literal.

Cc:  &lt;qemu-stable@nongnu.org&gt;
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-ID: &lt;20231108105649.60453-1-marcandre.lureau@redhat.com&gt;
</content>
</entry>
<entry>
<title>tracetool: avoid invalid escape in Python string</title>
<updated>2023-10-17T13:20:53Z</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2023-10-16T06:22:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=e6d8e5e6e366ab4c9ed7d8ed1572f98c6ad6a38e'/>
<id>urn:sha1:e6d8e5e6e366ab4c9ed7d8ed1572f98c6ad6a38e</id>
<content type='text'>
This is an error in Python 3.12; fix it by using a raw string literal.

Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&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 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>tracetool: use relative paths for '#line' preprocessor directives</title>
<updated>2023-04-24T17:53:44Z</updated>
<author>
<name>Thomas De Schampheleire</name>
<email>thomas.de_schampheleire@nokia.com</email>
</author>
<published>2023-04-06T08:00:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=9d672e290475001fcecdcc9dc79ad088ff89d17f'/>
<id>urn:sha1:9d672e290475001fcecdcc9dc79ad088ff89d17f</id>
<content type='text'>
The event filename is an absolute path. Convert it to a relative path when
writing '#line' directives, to preserve reproducibility of the generated
output when different base paths are used.

Signed-off-by: Thomas De Schampheleire &lt;thomas.de_schampheleire@nokia.com&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-Id: &lt;20230406080045.21696-1-thomas.de_schampheleire@nokia.com&gt;
</content>
</entry>
<entry>
<title>tracing: remove transform.py</title>
<updated>2023-03-05T21:44:08Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2023-02-25T09:41:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=29c87a281e816310257ae2f0617f147860fe7e82'/>
<id>urn:sha1:29c87a281e816310257ae2f0617f147860fe7e82</id>
<content type='text'>
This file, and a couple of uses, got left behind when the
tcg stuff was removed from tracetool.

Fixes: 126d4123c50a ("tracing: excise the tcg related from tracetool")
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>trace: fix compilation with lttng-ust &gt;= 2.13</title>
<updated>2022-04-01T11:06:07Z</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2022-03-28T08:47:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=e32aaa5a19e24233180042f84a0235a209de71cc'/>
<id>urn:sha1:e32aaa5a19e24233180042f84a0235a209de71cc</id>
<content type='text'>
On Fedora 36, with lttng-ust 2.13.1, compilation fails with:

In file included from trace/trace-ust-all.h:49085,
                 from trace/trace-ust-all.c:13:
/usr/include/lttng/tracepoint-event.h:67:10: error: #include expects "FILENAME" or &lt;FILENAME&gt;
   67 | #include LTTNG_UST_TRACEPOINT_INCLUDE
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

In lttng-ust commit 41858e2b6e8 ("Fix: don't do macro expansion in
tracepoint file name") from 2012, starting from lttng-ust 2.1, the API
was changed to expect TRACEPOINT_INCLUDE to be defined as a string.

In lttng-ust commit d2966b4b0b2 ("Remove TRACEPOINT_INCLUDE_FILE
macro"), in 2021, the compatibility macro was removed.

Use the "new" API from 2012, and bump the version requirement to 2.1 to
fix compilation with &gt;= 2.13.

According to repology, all distributions we support have &gt;= 2.1 (centos
8 has oldest with 2.8.1 afaict)

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-Id: &lt;20220328084717.367993-2-marcandre.lureau@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>tracing: excise the tcg related from tracetool</title>
<updated>2022-02-09T12:08:42Z</updated>
<author>
<name>Alex Bennée</name>
<email>alex.bennee@linaro.org</email>
</author>
<published>2022-02-04T20:43:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=126d4123c50a78a99e04196126d42627911ef5b8'/>
<id>urn:sha1:126d4123c50a78a99e04196126d42627911ef5b8</id>
<content type='text'>
Now we have no TCG trace events and no longer handle them in the code
we can remove the handling from the tracetool to generate them. vcpu
tracing is still available although the existing syscall event is an
exercise in redundancy (plugins and -strace can also get the
information).

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Cc: Luis Vilanova &lt;vilanova@imperial.ac.uk&gt;
Cc: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-Id: &lt;20220204204335.1689602-21-alex.bennee@linaro.org&gt;
</content>
</entry>
</feed>
