1
0
Fork 0
forked from wry/wry

all: use tracy for tracing

This commit is contained in:
Julian Orth 2024-09-15 18:08:54 +02:00
parent 50186e764e
commit ccad3cf0fb
56 changed files with 647 additions and 171 deletions

View file

@ -39,10 +39,14 @@ impl Auth {
}
log::info!("{}: Authenticated", self.socket.bus_name);
self.socket.incoming.set(Some(
self.socket.eng.spawn(handle_incoming(self.socket.clone())),
self.socket
.eng
.spawn("dbus incoming", handle_incoming(self.socket.clone())),
));
self.socket.outgoing_.set(Some(
self.socket.eng.spawn(handle_outgoing(self.socket.clone())),
self.socket
.eng
.spawn("dbus outgoing", handle_outgoing(self.socket.clone())),
));
self.socket.auth.take();
}

View file

@ -84,7 +84,7 @@ async fn connect(
}
},
);
let future = eng.spawn(handle_auth(socket.clone()));
let future = eng.spawn("dbus auth", handle_auth(socket.clone()));
socket.auth.set(Some(future));
Ok(socket)
}