Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 3.9% on proxy.golang.org
Top 1.4% dependent packages on proxy.golang.org
Top 0.9% dependent repos on proxy.golang.org
Top 9.0% forks on proxy.golang.org
Top 0.5% docker downloads on proxy.golang.org

proxy.golang.org : github.com/DataDog/ebpf

Package ebpf is a toolkit for working with eBPF programs. eBPF programs are small snippets of code which are executed directly in a VM in the Linux kernel, which makes them very fast and flexible. Many Linux subsystems now accept eBPF programs. This makes it possible to implement highly application specific logic inside the kernel, without having to modify the actual kernel itself. This package is designed for long-running processes which want to use eBPF to implement part of their application logic. It has no run-time dependencies outside of the library and the Linux kernel itself. eBPF code should be compiled ahead of time using clang, and shipped with your application as any other resource. This package doesn't include code required to attach eBPF to Linux subsystems, since this varies per subsystem. ExampleMarshaler shows how to use custom encoding with map methods. ExampleExtractDistance shows how to attach an eBPF socket filter to extract the network distance of an IP host. Example_program demonstrates how to attach an eBPF program to a tracepoint. The program will be attached to the sys_enter_open syscall and print out the integer 123 everytime the sycall is used. ExampleSocketELF demonstrates how to load an eBPF program from an ELF, and attach it to a raw socket.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/%21data%21dog/ebpf
License: MIT
Latest release: about 2 years ago
First release: almost 4 years ago
Namespace: github.com/DataDog
Dependent packages: 14
Dependent repositories: 38
Stars: 22 on GitHub
Forks: 4 on GitHub
Docker dependents: 11
Docker downloads: 1,523,600
See more repository details: repos.ecosyste.ms
Last synced: 16 days ago

    Loading...
    Readme
    Loading...