Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: r21gh/ebpf

Tags

v0.4.0

Toggle v0.4.0's commit message
program: Support Unpin operation for Program

v0.3.0

Toggle v0.3.0's commit message
info: add Name to MapInfo

Allow users to access the map name. The name is empty if the kernel
doesn't support object names yet.

v0.2.0

Toggle v0.2.0's commit message
btf: avoid Type copy in FuncProto.walk

FuncProto.walk currently takes a copy of FuncParam.Type since the
for loop implicitly makes a copy of the FuncParam value:

    for _, m := range fp.Params {

m is a copy of the original param, so &m.Type is the address of a
temporary variable. Instead, iterate params using the index and
take the correct address. Also extend the tests to cover this case.

v0.1.0

Toggle v0.1.0's commit message
map: add a getter for Flags

Add a getter for MapABI.Flags, so that we can deprecate MapABI without
losing access to Flags.