Skip to content

Commit eef7894

Browse files
committed
remove debug message
Signed-off-by: shun159 <[email protected]>
1 parent 513d0ef commit eef7894

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

prog.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,6 @@ func newProgramWithOptions(spec *ProgramSpec, opts ProgramOptions, c *btf.Cache)
409409
}
410410

411411
st, spec2, modBtfObjID, err := doFindStructTypeByName(s, attachTo)
412-
fmt.Println("hogehogehogheoge", st, err)
413412
if err != nil {
414413
return nil, err
415414
}
@@ -421,7 +420,6 @@ func newProgramWithOptions(spec *ProgramSpec, opts ProgramOptions, c *btf.Cache)
421420
attr.AttachBtfId = sys.TypeID(tid)
422421

423422
idx := getStructMemberIndexByName(st, targetMember)
424-
fmt.Println(idx, "hogehogehoge")
425423
if idx < 0 {
426424
return nil, fmt.Errorf("member %q not found in %s", targetMember, st.Name)
427425
}

0 commit comments

Comments
 (0)