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

Method GetSyscallPointByName

user/config/config_module.go:468–475  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

466}
467
468func (this *SyscallConfig) GetSyscallPointByName(name string) *SyscallPoint {
469 for _, point_arg := range this.PointArgs {
470 if point_arg.Name == name {
471 return point_arg
472 }
473 }
474 panic(fmt.Sprintf("unknown syscall name:%s", name))
475}
476
477func (this *SyscallConfig) UpdateSyscallPoint(uprobe_point *UprobeArgs) bool {
478 if !uprobe_point.BindSyscall {

Callers 2

UpdateSyscallPointMethod · 0.95
Parse_SyscallMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected