first commit
This commit is contained in:
commit
e7f75310ab
7 changed files with 709 additions and 0 deletions
33
src/lib.rs
Normal file
33
src/lib.rs
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
use tracing::{span, Subscriber};
|
||||
|
||||
struct PerfettoSubscriber {}
|
||||
|
||||
impl Subscriber for PerfettoSubscriber {
|
||||
fn enabled(&self, metadata: &tracing::Metadata<'_>) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn new_span(&self, span: &span::Attributes<'_>) -> span::Id {
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn record(&self, span: &span::Id, values: &span::Record<'_>) {
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn record_follows_from(&self, span: &span::Id, follows: &span::Id) {
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn event(&self, event: &tracing::Event<'_>) {
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn enter(&self, span: &span::Id) {
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn exit(&self, span: &span::Id) {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue