(map_name string)
| 410 | } |
| 411 | |
| 412 | func (this *MSyscall) FindMap(map_name string) (*ebpf.Map, error) { |
| 413 | em, found, err := this.bpfManager.GetMap(map_name) |
| 414 | if err != nil { |
| 415 | return em, err |
| 416 | } |
| 417 | if !found { |
| 418 | return em, errors.New(fmt.Sprintf("cannot find map:%s", map_name)) |
| 419 | } |
| 420 | return em, err |
| 421 | } |
| 422 | |
| 423 | func (this *MSyscall) Events() []*ebpf.Map { |
| 424 | return this.eventMaps |
no outgoing calls
no test coverage detected