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

Method FindMap

user/module/stack.go:404–413  ·  view source on GitHub ↗
(map_name string)

Source from the content-addressed store, hash-verified

402}
403
404func (this *MStack) FindMap(map_name string) (*ebpf.Map, error) {
405 em, found, err := this.bpfManager.GetMap(map_name)
406 if err != nil {
407 return em, err
408 }
409 if !found {
410 return em, errors.New(fmt.Sprintf("cannot find map:%s", map_name))
411 }
412 return em, err
413}
414
415func (this *MStack) Events() []*ebpf.Map {
416 return this.eventMaps

Callers 7

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

Calls

no outgoing calls

Tested by

no test coverage detected