Push initial working version

This commit is contained in:
Harshavardhan Musanalli
2025-08-18 08:15:33 +02:00
parent 912a283f7c
commit ad4f459de5
18 changed files with 158470 additions and 2536 deletions

View File

@@ -1,5 +1,5 @@
// Code generated by bpf2go; DO NOT EDIT.
//go:build (386 || amd64 || arm || arm64 || loong64 || mips64le || mipsle || ppc64le || riscv64 || wasm) && linux
//go:build 386 || amd64 || arm || arm64 || loong64 || mips64le || mipsle || ppc64le || riscv64 || wasm
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,
)
}