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

Method GetSyscall

user/config/config_module.go:267–279  ·  view source on GitHub ↗
(mconfig *ModuleConfig)

Source from the content-addressed store, hash-verified

265}
266
267func (this *StackUprobeConfig) GetSyscall(mconfig *ModuleConfig) string {
268 results := []string{}
269 var new_points []*UprobeArgs
270 for _, point := range this.Points {
271 if mconfig.SysCallConf.UpdateSyscallPoint(point) {
272 results = append(results, point.Name)
273 } else {
274 new_points = append(new_points, point)
275 }
276 }
277 this.Points = new_points
278 return strings.Join(results, ",")
279}
280
281func (this *StackUprobeConfig) Parse_FileConfig(config *UprobeFileConfig) (err error) {
282 for index, point_config := range config.Points {

Callers 1

persistentPreRunEFuncFunction · 0.80

Calls 1

UpdateSyscallPointMethod · 0.80

Tested by

no test coverage detected