Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] New architecture: wasm #1552

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

[RFC] New architecture: wasm #1552

wants to merge 1 commit into from

Commits on Aug 26, 2024

  1. New architecture: wasm

    cilium/ebpf currently does not compile to wasm with tinygo. This patch
    makes it compile.
    
    I am working on a website where users can submit ebpf binaries (either
    in ELF format or as an Inspektor Gadget export) and the website will
    parse the ebpf binary client-side with wasm. The wasm code is written in
    Go, using cilium/ebpf and is compiled with tinygo.
    
    My wasm code uses ebpf.LoadCollectionSpecFromReader() to display
    information about the ebpf binary. But it will not call
    ebpf.NewCollection() because the wasm/javascript environment in the
    browser cannot interact with the Linux kernel.
    
    Signed-off-by: Alban Crequy <[email protected]>
    alban committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    a8ec889 View commit details
    Browse the repository at this point in the history