Skip to content

Commit

Permalink
start api call method
Browse files Browse the repository at this point in the history
  • Loading branch information
gunlee01 committed Jan 20, 2021
1 parent aea34b2 commit c92390c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scouterx/strace/tracemain.go
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,9 @@ func StartApiCall(ctx context.Context, apiCallName string, address string) *netd
step := netdata.NewApiCallStep()
step.Hash = netio.SendApicall(apiCallName)
step.StartTime = util.MillisToNow(tctx.StartTime)
if address != "" {
step.Opt = 1
}
step.Address = address
tctx.Profile.Push(step)

Expand Down

0 comments on commit c92390c

Please sign in to comment.