Skip to content

Commit 8d899dd

Browse files
committed
misc
1 parent 67a7145 commit 8d899dd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scouterx/strace/tracemain.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,10 +342,14 @@ func findXLogDiscard(tctx *netio.TraceContext, elapsed int32) netdata.XlogDiscar
342342
}
343343

344344
func StartMethod(ctx context.Context) *netdata.MethodStep {
345-
return StartMethodWithParam(ctx)
345+
return startMethodWithParam(ctx)
346346
}
347347

348348
func StartMethodWithParam(ctx context.Context, params ...interface{}) *netdata.MethodStep {
349+
return startMethodWithParam(ctx, params)
350+
}
351+
352+
func startMethodWithParam(ctx context.Context, params ...interface{}) *netdata.MethodStep {
349353
defer common.ReportScouterPanic()
350354

351355
if ctx == nil {

0 commit comments

Comments
 (0)