Skip to content

Commit c92390c

Browse files
committed
start api call method
1 parent aea34b2 commit c92390c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scouterx/strace/tracemain.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,9 @@ func StartApiCall(ctx context.Context, apiCallName string, address string) *netd
529529
step := netdata.NewApiCallStep()
530530
step.Hash = netio.SendApicall(apiCallName)
531531
step.StartTime = util.MillisToNow(tctx.StartTime)
532+
if address != "" {
533+
step.Opt = 1
534+
}
532535
step.Address = address
533536
tctx.Profile.Push(step)
534537

0 commit comments

Comments
 (0)