Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/rust-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
if [ "${{ inputs.toolchain }}" != stable ]; then
rm -fv Cargo.lock
fi
cargo build
cargo build --all-targets --all-features
- name: Enable perf_event_open and kallsyms for tests
shell: bash
run: |
Expand All @@ -33,4 +33,4 @@ runs:
run: |
# Raise locked-memory limit for large perf ring buffers
sudo prlimit --pid $$ --memlock=unlimited:unlimited
cargo test
cargo test --all-features
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
shell: bash
env:
RUSTFLAGS: "--cfg tokio_unstable"
run: cargo clippy --workspace -- -D warnings
run: cargo clippy --all-targets --all-features -- -D warnings
34 changes: 0 additions & 34 deletions Cargo.lock

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

22 changes: 0 additions & 22 deletions dial9-tokio-telemetry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ metrique = { version = "0.1.23", features = ["local-format"] }
[features]
analysis = []
cpu-profiling = ["dep:dial9-perf-self-profile"]
task-dump = ["tokio/taskdump"]
worker-s3 = ["dep:aws-sdk-s3-transfer-manager", "dep:aws-sdk-s3", "dep:aws-config", "dep:time"]

[dev-dependencies]
Expand All @@ -67,11 +66,6 @@ uuid = { version = "1", features = ["v4"] }
dial9-tokio-telemetry = { path = ".", features = ["cpu-profiling", "worker-s3", "analysis"] }
nix = { version = "0.29", features = ["process"] }

[[bench]]
name = "poll_overhead"
harness = false
required-features = ["task-dump"]

[[bench]]
name = "overhead_bench"
harness = false
Expand All @@ -80,22 +74,6 @@ harness = false
name = "e2e_workload"
harness = false

[[example]]
name = "long_sleep"
required-features = ["task-dump"]

[[example]]
name = "completing_task"
required-features = ["task-dump"]

[[example]]
name = "cancelled_task"
required-features = ["task-dump"]

[[example]]
name = "debug_timing"
required-features = ["task-dump"]

[[example]]
name = "blocking_sleep"
required-features = ["cpu-profiling"]
Expand Down
1 change: 0 additions & 1 deletion dial9-tokio-telemetry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ See [TRACE_ANALYSIS_GUIDE.md](/dial9-tokio-telemetry/TRACE_ANALYSIS_GUIDE.md) fo
## Features

- **`cpu-profiling`** — Linux only. Enables `perf_event_open`-based CPU sampling and scheduler event capture via `dial9-perf-self-profile`.
- **`task-dump`** — Enables Tokio's `taskdump` feature for async stack traces. Required for the `long_sleep`, `completing_task`, `cancelled_task`, and `debug_timing` examples.
- **`worker-s3`** — Enables S3 upload support. Adds `aws-sdk-s3`, `aws-sdk-s3-transfer-manager`, `aws-config`, and `flate2`.

## S3 upload
Expand Down
2 changes: 1 addition & 1 deletion dial9-tokio-telemetry/benches/e2e_workload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
mod bmf;

#[cfg(target_os = "linux")]
use dial9_tokio_telemetry::telemetry::CpuProfilingConfig;
use dial9_tokio_telemetry::telemetry::cpu_profile::CpuProfilingConfig;
use dial9_tokio_telemetry::telemetry::{RotatingWriter, TracedRuntime};
use std::time::Instant;
use tokio::io::{AsyncReadExt, AsyncWriteExt};
Expand Down
2 changes: 1 addition & 1 deletion dial9-tokio-telemetry/benches/overhead_bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ fn run_bench(mode: &str, duration_secs: u64) -> BenchResult {

let mut merged = Histogram::<u64>::new_with_bounds(1_000, 60_000_000_000, 3).unwrap();
for h in handles {
merged.add(&h.await.unwrap()).unwrap();
merged.add(h.await.unwrap()).unwrap();
}
(merged, wall)
});
Expand Down
64 changes: 0 additions & 64 deletions dial9-tokio-telemetry/benches/poll_overhead.rs

This file was deleted.

54 changes: 0 additions & 54 deletions dial9-tokio-telemetry/examples/cancelled_task.rs

This file was deleted.

35 changes: 0 additions & 35 deletions dial9-tokio-telemetry/examples/completing_task.rs

This file was deleted.

55 changes: 0 additions & 55 deletions dial9-tokio-telemetry/examples/debug_timing.rs

This file was deleted.

Loading
Loading