Re: [PATCH] Rust: Add tracing and logging support for Rust code

2025-04-04 Thread Saman Dehghan
I saw that `Bernhard Beschow` is working on the same thing. So, please feel free to close my pull request. Thank you :) --- Saman Dehghan Replying to qemu-devel@nongnu.org on March 31, 2025, 7:26 PM From: sa...@enumclass.cc To: qemu-devel@nongnu.org CC: stefa...@redhat.com, qemu-r...@

Re: [PATCH] Rust: Add tracing and logging support for Rust code

2025-04-04 Thread Daniel P . Berrangé
On Mon, Mar 31, 2025 at 07:26:33PM -0500, saman wrote: > This change introduces initial support for tracing and logging in Rust-based > QEMU code. As an example, tracing and logging have been implemented in the > pl011 device, which is written in Rust. > > - Updated `rust/wrapper.h` to include the

Re: [PATCH] Rust: Add tracing and logging support for Rust code

2025-04-02 Thread Paolo Bonzini
Il mar 1 apr 2025, 10:27 Daniel P. Berrangé ha scritto: > This is a non-trivial degradation for the tracing code. The code is > generated in an inline function in the header so that when a probe > point is not active, it has as little overhead as possible - with > some backends it will just a 'no

Re: [PATCH] Rust: Add tracing and logging support for Rust code

2025-04-01 Thread Stefan Hajnoczi
On Mon, Mar 31, 2025 at 07:26:33PM -0500, saman wrote: > This change introduces initial support for tracing and logging in Rust-based > QEMU code. As an example, tracing and logging have been implemented in the > pl011 device, which is written in Rust. > > - Updated `rust/wrapper.h` to include the