weizhoublue / cilium-map

Generic tool to inspect BPF maps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cilium-map

A small tool to generically introspect BPF maps without requiring to be aware of the specific data structures stored inside. Can print the metadata of the map or its contents in hexadecimal form.

Install

Install from source via go get:

git clone https://github.com/weizhouBlue/cilium-map.git
cd cilium-map
go build cilium-map

Usage

cd /sys/fs/bpf/tc/globals/
cilium-map dump ./FILE_NAME

About

Generic tool to inspect BPF maps

License:Apache License 2.0


Languages

Language:Go 99.6%Language:Makefile 0.4%