You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/scripts/tracetool/format
Tanish Desai e2e182bef7 tracetool: Add Rust format support
Generating .rs files makes it possible to support tracing in rust.
This support comprises a new format, and common code that converts
the C expressions in trace-events to Rust.  In particular, types
need to be converted, and PRI macros expanded.

As of this commit no backend generates Rust code, but it is already
possible to use tracetool to generate Rust sources; they are not
functional but they compile and contain tracepoint functions.

[Move Rust argument conversion from Event to Arguments; string
 support. - Paolo]

Signed-off-by: Tanish Desai <tanishdesai37@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20250929154938.594389-9-pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2 months ago
..
__init__.py tracetool: add SPDX headers 2 months ago
c.py tracetool: add SPDX headers 2 months ago
d.py tracetool: add SPDX headers 2 months ago
h.py tracetool: add CHECK_TRACE_EVENT_GET_STATE 2 months ago
log_stap.py tracetool: add SPDX headers 2 months ago
rs.py tracetool: Add Rust format support 2 months ago
simpletrace_stap.py tracetool: add SPDX headers 2 months ago
stap.py tracetool: add SPDX headers 2 months ago
ust_events_c.py tracetool: add SPDX headers 2 months ago
ust_events_h.py tracetool: add SPDX headers 2 months ago