MCPcopy Create free account
hub / github.com/SeeFlowerX/stackplz / FindMap

Method FindMap

user/module/syscall.go:412–421  ·  view source on GitHub ↗
(map_name string)

Source from the content-addressed store, hash-verified

410}
411
412func (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
423func (this *MSyscall) Events() []*ebpf.Map {
424 return this.eventMaps

Callers 8

update_mapMethod · 0.95
update_common_listMethod · 0.95
update_thread_filterMethod · 0.95
update_arg_filterMethod · 0.95
update_op_listMethod · 0.95
initDecodeFunMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected