Push initial working version
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Code generated by bpf2go; DO NOT EDIT.
|
||||
//go:build (mips || mips64 || ppc64 || s390x) && linux
|
||||
//go:build mips || mips64 || ppc64 || s390x
|
||||
|
||||
package main
|
||||
|
||||
@@ -61,8 +61,9 @@ type tracepointProgramSpecs struct {
|
||||
//
|
||||
// It can be passed ebpf.CollectionSpec.Assign.
|
||||
type tracepointMapSpecs struct {
|
||||
Events *ebpf.MapSpec `ebpf:"events"`
|
||||
TargetFilenameMap *ebpf.MapSpec `ebpf:"target_filename_map"`
|
||||
Events *ebpf.MapSpec `ebpf:"events"`
|
||||
IgnoreUidsMap *ebpf.MapSpec `ebpf:"ignore_uids_map"`
|
||||
TargetHashesMap *ebpf.MapSpec `ebpf:"target_hashes_map"`
|
||||
}
|
||||
|
||||
// tracepointVariableSpecs contains global variables before they are loaded into the kernel.
|
||||
@@ -91,14 +92,16 @@ func (o *tracepointObjects) Close() error {
|
||||
//
|
||||
// It can be passed to loadTracepointObjects or ebpf.CollectionSpec.LoadAndAssign.
|
||||
type tracepointMaps struct {
|
||||
Events *ebpf.Map `ebpf:"events"`
|
||||
TargetFilenameMap *ebpf.Map `ebpf:"target_filename_map"`
|
||||
Events *ebpf.Map `ebpf:"events"`
|
||||
IgnoreUidsMap *ebpf.Map `ebpf:"ignore_uids_map"`
|
||||
TargetHashesMap *ebpf.Map `ebpf:"target_hashes_map"`
|
||||
}
|
||||
|
||||
func (m *tracepointMaps) Close() error {
|
||||
return _TracepointClose(
|
||||
m.Events,
|
||||
m.TargetFilenameMap,
|
||||
m.IgnoreUidsMap,
|
||||
m.TargetHashesMap,
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user