Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

generate byte code for use with BPFd on arm64 #54

@maindoor

Description

@maindoor

Hi,
How do I generate BPF byte code for feeding into bpfd on the target.
compiler/kernel/bcc is on host, no direct communication between host
and target (due to security concern).
lwn.net article uses 'cat my_bpf_prog.base64 | bpfd'
So can someone help in clarifying how to generate BPF byte code in base64 format
for feeding to bpfd using bcc for a simple program like https://github.com/iovisor/bcc/blob/master/examples/hello_world.py ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions