On Fri, Sep 19, 2025 at 01:25:36PM +0200, Paolo Bonzini wrote: > From: Tanish Desai <[email protected]> > > The syslog backend needs the syslog function from libc and the LOG_INFO enum > value; they are re-exported as "::trace::syslog" and "::trace::LOG_INFO" > so that device crates do not all have to add the libc dependency, but > otherwise there is nothing special. > > Signed-off-by: Tanish Desai <[email protected]> > Signed-off-by: Paolo Bonzini <[email protected]> > --- > rust/Cargo.lock | 3 +++ > rust/trace/Cargo.toml | 3 +++ > rust/trace/src/lib.rs | 4 +++ > scripts/tracetool/backend/syslog.py | 7 ++++- > tests/tracetool/syslog.rs | 40 +++++++++++++++++++++++++++++ > tests/tracetool/tracetool-test.py | 2 +- > 6 files changed, 57 insertions(+), 2 deletions(-) > create mode 100644 tests/tracetool/syslog.rs
Reviewed-by: Stefan Hajnoczi <[email protected]>
signature.asc
Description: PGP signature
