Versions in this module Expand all Collapse all v0 v0.16.0 Jul 23, 2024 Changes in this version + var ErrInvalidTarget = errors.New("unsupported target") + func CollectGlobalTypes(spec *ebpf.CollectionSpec) []btf.Type + func Compile(args CompileArgs) error + func FindTarget(id string) (Target, GoArches, error) + func Generate(args GenerateArgs) error + func TargetsByGoArch() map[GoArch]Target + type CompileArgs struct + CC string + Dest string + DisableStripping bool + Flags []string + Source string + Strip string + Target Target + Workdir string + type GenerateArgs struct + Constraints constraint.Expr + Maps []string + ObjectFile string + Output io.Writer + Package string + Programs []string + Stem string + Types []btf.Type + type GoArch string + type GoArches []GoArch + func (arches GoArches) Constraint() constraint.Expr + type Target struct + func (tgt *Target) IsGeneric() bool + func (tgt *Target) ObsoleteSuffix() string + func (tgt *Target) Suffix() string