- Rename tcptop-ebpf binary to avoid cargo ambiguity with userspace crate - Add default-members and default-run for cargo run from workspace root - Fix aya-ebpf API mismatches (bpf_get_current_comm, Array::get_ptr_mut) - Fix include_bytes_aligned! path to match aya-build output structure - Fix RingBuf async reading (use raw fd + AsyncFd instead of wrapping RingBuf) - Fix procfs TcpState conversion (add from_procfs method) - Fix borrow checker issue in PID enrichment (clone keys for owned HashMap) - Update rust-toolchain.toml to nightly-2026-03-20 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 lines
217 B
TOML
14 lines
217 B
TOML
[package]
|
|
name = "tcptop-ebpf"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
aya-ebpf = "0.1"
|
|
aya-log-ebpf = "0.1"
|
|
tcptop-common = { path = "../tcptop-common" }
|
|
|
|
[[bin]]
|
|
name = "tcptop-ebpf"
|
|
path = "src/main.rs"
|