Skip to content

Add eprobe to Tools section - #184

Open
dimitribellini wants to merge 1 commit into
qmonnet:mainfrom
dimitribellini:patch-1
Open

dimitribellini wants to merge 1 commit into
qmonnet:mainfrom
dimitribellini:patch-1

Conversation

@dimitribellini

Copy link
Copy Markdown

Adds eprobe under ### Tools.

Architecture & Licensing

  • CLI / TUI & CO-RE Loader (Apache-2.0): eprobe-dev/eprobe (Go binary/TUI, attaches read-only probes with clean SIGINT/SIGTERM detach).
  • eBPF Probes & Offline Packager (GPL-2.0-only OR MIT / SEC("license") = "Dual MIT/GPL"): eprobe-dev/eprobe-modules contains all kernel .c sources plus cmd/eprobe-pack.

Kernel Hooks Summary

  • perf/stall-tracer: raw_tracepoint/sched_wakeup, raw_tracepoint/sched_wakeup_new, raw_tracepoint/sched_switch, and tracepoint/syscalls/sys_enter_futex / sys_exit_futex / sys_enter_futex_waitv / sys_exit_futex_waitv for off-CPU and futex contention tracking.
  • sys/syscall-xray: raw_tracepoint/sys_enter / sys_exit and openat / openat2 / connect syscall tracepoints for syscall latency and error attribution without ptrace stops.
  • app/universal-tls-sniffer: uprobe / uretprobe hooks on OpenSSL SSL_read, SSL_read_ex, SSL_write, SSL_write_ex (plus SSL_ctrl, SSL_set1_host, SSL_free).
  • app/http-tracer & app/mysql-monitor: kprobe/tcp_sendmsg (and kprobe/tcp_recvmsg), read/write/recvfrom/sendto syscall tracepoints, tracepoint/sched/sched_stat_runtime, and block_rq_issue / block_rq_complete (MySQL).

Users can either download Ed25519-signed .epm packages on demand or compile and load self-built probes completely offline via make build-unsigned in eprobe-modules followed by sudo eprobe run --module-file ./dist/<module>.epm.

How eprobe differs from existing entries

  • vs. kyanos / ptcpdump / oryx (network & packet tools): Goes beyond L3/L4/L7 packet capture to correlate scheduler off-CPU/D-state/futex stalls, openat/connect syscall errors & latency, and block I/O alongside HTTP/MySQL/OpenSSL traffic in an interactive TUI.
  • vs. inspektor-gadget (OCI/K8s gadget framework): Targets zero-daemon SSH triage on bare-metal/VM hosts without container/OCI runtimes via lightweight .epm bundles (either Ed25519-verified or built locally with make build-unsigned + --module-file).
  • vs. Coroot / Pixie / DeepFlow (always-on APMs): Ephemeral on-demand diagnostic session with zero persistent agents; Ctrl+C or q detaches all probes and maps cleanly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant