Skip to content

How to use bpftime as as a library rather than CLI ? #421

@Yinwhe

Description

@Yinwhe

The current bpftime/example/libbpftime_example is very incomplete and only demonstrates basic shared memory operations. There's a lack of comprehensive examples showing how to use bpftime as a library rather than through the CLI tools.

Could you provide more complete library usage examples that demonstrate the full lifecycle of eBPF programs using bpftime APIs directly, similar to how the malloc example works but using library calls instead of CLI commands?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions