this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[new release] libbpf (4 packages) (0.1.0)

CHANGES:

- Initial release.

`ocaml_libbpf`:
- [supported](./supported.json) bindings
- high level API's for open/load/attach/teardown

`ocaml_libbpf_maps`:
- high level API's for BPF ring_buffer map

+178
+43
packages/conf-bpftool/conf-bpftool.0.1.0/opam
··· 1 + opam-version: "2.0" 2 + synopsis: "Virtual package for system installation of bpftool" 3 + maintainer: ["Lee Koon Wen"] 4 + authors: ["Lee Koon Wen"] 5 + license: ["ISC" "BSD-3-Clause"] 6 + homepage: "https://github.com/koonwen/ocaml-libbpf" 7 + doc: "https://koonwen.github.io/ocaml-libbpf" 8 + bug-reports: "https://github.com/koonwen/ocaml-libbpf/issues" 9 + depends: [ 10 + "dune" {>= "3.13"} 11 + "odoc" {with-doc} 12 + ] 13 + build: [ 14 + ["dune" "subst"] {dev} 15 + [ 16 + "dune" 17 + "build" 18 + "-p" 19 + name 20 + "-j" 21 + jobs 22 + "@install" 23 + "@runtest" {with-test} 24 + "@doc" {with-doc} 25 + ] 26 + ] 27 + dev-repo: "git+https://github.com/koonwen/ocaml-libbpf.git" 28 + available: [ os = "linux" ] 29 + 30 + depexts: [ 31 + [ "linux-tools-common" ] {os-distribution = "ubuntu"} 32 + [ "bpftool" ] {os-distribution = "debian"} 33 + [ "bpftool" ] {os-distribution = "fedora"} 34 + ] 35 + url { 36 + src: 37 + "https://github.com/koonwen/ocaml-libbpf/releases/download/v0.1.0/libbpf-0.1.0.tbz" 38 + checksum: [ 39 + "sha256=c0b543a2628f4c27d2eaaefb1b8c0cc81ef56a2437de44e540770a9a689ab1fe" 40 + "sha512=1ff0b508123c131df16cf53ca43681a9d5b2120ffbb7409e264be11ca37ae74057acc7121d9811fb8eeb5ab224a71d11af50498e28fe367d6a21d29011a937e5" 41 + ] 42 + } 43 + x-commit-hash: "c7ac4c7ff9f2aa23c374a619990c0bdd78976102"
+43
packages/conf-libbpf/conf-libbpf.0.1.0/opam
··· 1 + opam-version: "2.0" 2 + synopsis: "Virtual package for system installation of libbpf" 3 + maintainer: ["Lee Koon Wen"] 4 + authors: ["Lee Koon Wen"] 5 + license: ["ISC" "BSD-3-Clause"] 6 + homepage: "https://github.com/koonwen/ocaml-libbpf" 7 + doc: "https://koonwen.github.io/ocaml-libbpf" 8 + bug-reports: "https://github.com/koonwen/ocaml-libbpf/issues" 9 + depends: [ 10 + "dune" {>= "3.13"} 11 + "odoc" {with-doc} 12 + ] 13 + build: [ 14 + ["dune" "subst"] {dev} 15 + [ 16 + "dune" 17 + "build" 18 + "-p" 19 + name 20 + "-j" 21 + jobs 22 + "@install" 23 + "@runtest" {with-test} 24 + "@doc" {with-doc} 25 + ] 26 + ] 27 + dev-repo: "git+https://github.com/koonwen/ocaml-libbpf.git" 28 + available: [ os = "linux" ] 29 + 30 + depexts: [ 31 + ["libbpf-dev"] { os-distribution = "ubuntu" & os-version >= "18.04" } 32 + ["libbpf-dev"] { os-distribution = "debian" & os-version >= "9.0" } 33 + ["libbpf-devel"] { os-distribution = "fedora" & os-version >= "38" } 34 + ] 35 + url { 36 + src: 37 + "https://github.com/koonwen/ocaml-libbpf/releases/download/v0.1.0/libbpf-0.1.0.tbz" 38 + checksum: [ 39 + "sha256=c0b543a2628f4c27d2eaaefb1b8c0cc81ef56a2437de44e540770a9a689ab1fe" 40 + "sha512=1ff0b508123c131df16cf53ca43681a9d5b2120ffbb7409e264be11ca37ae74057acc7121d9811fb8eeb5ab224a71d11af50498e28fe367d6a21d29011a937e5" 41 + ] 42 + } 43 + x-commit-hash: "c7ac4c7ff9f2aa23c374a619990c0bdd78976102"
+51
packages/libbpf/libbpf.0.1.0/opam
··· 1 + opam-version: "2.0" 2 + synopsis: "Libbpf bindings" 3 + description: "Wrapped libbpf api's for writing BPF user programs in OCaml" 4 + maintainer: ["Lee Koon Wen"] 5 + authors: ["Lee Koon Wen"] 6 + license: ["ISC" "BSD-3-Clause"] 7 + tags: ["bindings" "bpf" "libbpf"] 8 + homepage: "https://github.com/koonwen/ocaml-libbpf" 9 + doc: "https://koonwen.github.io/ocaml-libbpf" 10 + bug-reports: "https://github.com/koonwen/ocaml-libbpf/issues" 11 + depends: [ 12 + "ocaml" {>= "4.08"} 13 + "dune" {>= "3.13"} 14 + "ctypes" {>= "0.22.0"} 15 + "ppx_deriving" 16 + "ppx_expect" 17 + "conf-libbpf" 18 + "conf-clang" 19 + "odoc" {with-doc} 20 + ] 21 + build: [ 22 + ["dune" "subst"] {dev} 23 + [ 24 + "dune" 25 + "build" 26 + "-p" 27 + name 28 + "-j" 29 + jobs 30 + "@install" 31 + "@runtest" {with-test} 32 + "@doc" {with-doc} 33 + ] 34 + ] 35 + dev-repo: "git+https://github.com/koonwen/ocaml-libbpf.git" 36 + # eBPF features by kernel version https://github.com/iovisor/bcc/blob/master/docs/kernel-versions.md 37 + # Fix to kernel >= 6.1 to provide bound BPF map types 38 + available: [ os = "linux" & 39 + (( os-distribution = "debian" & os-version >= "12" ) # Linux 6.1 & Libbpf 1.1.0 40 + |( os-distribution = "ubuntu" & os-version >= "23.04" ) # Linux 6.2 & Libbpf 1.1.0 41 + |( os-distribution = "fedora" & os-version >= "38" )) # Linux 6.2 & Libbpf 1.1.0 42 + ] 43 + url { 44 + src: 45 + "https://github.com/koonwen/ocaml-libbpf/releases/download/v0.1.0/libbpf-0.1.0.tbz" 46 + checksum: [ 47 + "sha256=c0b543a2628f4c27d2eaaefb1b8c0cc81ef56a2437de44e540770a9a689ab1fe" 48 + "sha512=1ff0b508123c131df16cf53ca43681a9d5b2120ffbb7409e264be11ca37ae74057acc7121d9811fb8eeb5ab224a71d11af50498e28fe367d6a21d29011a937e5" 49 + ] 50 + } 51 + x-commit-hash: "c7ac4c7ff9f2aa23c374a619990c0bdd78976102"
+41
packages/libbpf_maps/libbpf_maps.0.1.0/opam
··· 1 + opam-version: "2.0" 2 + synopsis: "Libbpf maps API" 3 + description: "High level API's for interacting with BPF maps in OCaml" 4 + maintainer: ["Lee Koon Wen"] 5 + authors: ["Lee Koon Wen"] 6 + license: ["ISC" "BSD-3-Clause"] 7 + tags: ["bindings" "bpf" "libbpf"] 8 + homepage: "https://github.com/koonwen/ocaml-libbpf" 9 + doc: "https://koonwen.github.io/ocaml-libbpf" 10 + bug-reports: "https://github.com/koonwen/ocaml-libbpf/issues" 11 + depends: [ 12 + "dune" {>= "3.13"} 13 + "ctypes" {>= "0.22.0"} 14 + "ctypes-foreign" {>= "0.22.0"} 15 + "ocaml_libbpf" {= version} 16 + "odoc" {with-doc} 17 + ] 18 + build: [ 19 + ["dune" "subst"] {dev} 20 + [ 21 + "dune" 22 + "build" 23 + "-p" 24 + name 25 + "-j" 26 + jobs 27 + "@install" 28 + "@runtest" {with-test} 29 + "@doc" {with-doc} 30 + ] 31 + ] 32 + dev-repo: "git+https://github.com/koonwen/ocaml-libbpf.git" 33 + url { 34 + src: 35 + "https://github.com/koonwen/ocaml-libbpf/releases/download/v0.1.0/libbpf-0.1.0.tbz" 36 + checksum: [ 37 + "sha256=c0b543a2628f4c27d2eaaefb1b8c0cc81ef56a2437de44e540770a9a689ab1fe" 38 + "sha512=1ff0b508123c131df16cf53ca43681a9d5b2120ffbb7409e264be11ca37ae74057acc7121d9811fb8eeb5ab224a71d11af50498e28fe367d6a21d29011a937e5" 39 + ] 40 + } 41 + x-commit-hash: "c7ac4c7ff9f2aa23c374a619990c0bdd78976102"