Skip to content

Commit

Permalink
Instrument TunnelStateMachine::run
Browse files Browse the repository at this point in the history
  • Loading branch information
Serock3 committed Jul 26, 2024
1 parent 1c5b5ab commit 82ba6f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions talpid-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ futures = "0.3.15"
ipnetwork = { workspace = true }
libc = "0.2"
log = { workspace = true }
tracing = { workspace = true }
once_cell = { workspace = true }
parking_lot = "0.12.0"
rand = "0.8.5"
Expand Down
1 change: 1 addition & 0 deletions talpid-core/src/tunnel_state_machine/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ impl TunnelStateMachine {
.unwrap()
}

#[tracing::instrument(skip_all)]
fn run(mut self, change_listener: impl Sender<TunnelStateTransition> + Send + 'static) {
use EventConsequence::*;

Expand Down

0 comments on commit 82ba6f0

Please sign in to comment.