Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
gunlee01 committed Jan 17, 2021
1 parent 8b0ded1 commit 7c3eb81
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 @@ -466,6 +466,9 @@ func addMessageStepIfParamExist(tctx *netio.TraceContext, params []interface{})
return
}
for _, param := range params {
if param == nil {
continue
}
step := netdata.NewMessageStep(fmt.Sprintf("param: %v", param), util.MillisToNow(tctx.StartTime))
step.StartTime = util.MillisToNow(tctx.StartTime)
tctx.Profile.Add(step)
Expand Down

0 comments on commit 7c3eb81

Please sign in to comment.