(ctx context.Context, logger *log.Logger, conf config.IConfig)
| 33 | } |
| 34 | |
| 35 | func (this *MSyscall) Init(ctx context.Context, logger *log.Logger, conf config.IConfig) error { |
| 36 | this.Module.Init(ctx, logger, conf) |
| 37 | this.Module.SetChild(this) |
| 38 | this.eventMaps = make([]*ebpf.Map, 0, 2) |
| 39 | this.eventFuncMaps = make(map[*ebpf.Map]event.IEventStruct) |
| 40 | this.hookBpfFile = "syscall.o" |
| 41 | |
| 42 | return nil |
| 43 | } |
| 44 | |
| 45 | func (this *MSyscall) GetConf() config.IConfig { |
| 46 | return this.mconf |