Skip to content

Commit f427a92

Browse files
authored
use bpf for perf counters (#154)
This change converts current perf counters to be driven by bpf. This allows us to drop the dependency on the 'perfcnt' crate which helps to stabilize the build, reduce dependency tree, and allow for targeting stable rust. There is some elevated startup cost and we do now require bpf support to be enabled for perf event telemetry to be enabled - but the benefits of this change outweigh the drawbacks.
1 parent 384903f commit f427a92

File tree

14 files changed

+497
-644
lines changed

14 files changed

+497
-644
lines changed

.github/workflows/cargo.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ jobs:
160160
steps:
161161
- uses: actions/checkout@v2
162162
- name: install rustfmt
163-
run: rustup component add rustfmt
163+
run: rustup +nightly component add rustfmt
164164
- name: rustfmt
165-
run: cargo fmt -- --check
165+
run: cargo +nightly fmt -- --check
166166
clippy:
167167
runs-on: ubuntu-latest
168168
steps:

0 commit comments

Comments
 (0)