bpftool icon indicating copy to clipboard operation
bpftool copied to clipboard

Automated upstream mirror for bpftool stand-alone build.

Results 47 bpftool issues
Sort by recently updated
recently updated
newest added

> TL;DR: When cross-compiling, host little-endian bootstrap bpftool cannot open a big-endian ELF to generate a skeleton from it and build target big-endian bpftool. > > Long version: Currently, bpftool's...

bug

When using bpftool to create new BPF objects (loaded programs, maps, etc.), it is not currently possible to retrieve a safe handle to the created objects. Users can set a...

enhancement

From `man bpftool-btf`: ``` BTF_SRC := { id BTF_ID | prog PROG | map MAP [{key | value | kv | all}] | file FILE } ``` We could support...

enhancement

`bpftool prog dump` seems to give wrong `callq` address. --- First let's Inspect a bpf prog with `bpf_redirect` call ```shell $ s bpftool p s tag 71cf8deecfc1bb77 1125: sched_cls name...

bug

Few minor improvements to keep tracking: For human readable output dump "prog id %u" for progs and "link id %u" for links consistently. Currently some types dump just "id %u"...

documentation
enhancement

`bpftool map event_pipe` dumps data from a perf ring. We don't have any equivalent yet for BPF ring buffers.

enhancement

See discussion in https://github.com/libbpf/bpftool/issues/54. No need to display an empty maps for types for which we know we can't display anything - apparently the BPF ring buffer, likely the perf...

enhancement

Attach types are using the legacy attach type names, but we switched to those used by libbpf in commit torvalds/linux@1ba5ad36e00f46e3f7676f5de6b87f5a2f57f1f1. (Legacy attach type names are only kept for compatibility but...

documentation

Some link types could be added here: https://github.com/libbpf/bpftool/blob/87e2cb7d3240265f68fe6f82633bbd7d33147ff1/src/link.c#L198 and processed to display more info. Side note: Are programs attached to XDP links displayed in `bpftool net`?

enhancement

We have bash completion, but many users use Zsh nowadays. Some other shells are in use as well (fish, ...), and could be candidates, although I'm not familiar with other...

enhancement