Skip to content

Commit

Permalink
lint exported func
Browse files Browse the repository at this point in the history
  • Loading branch information
medyagh committed Jan 14, 2025
1 parent 4976a67 commit f812751
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/stackparse/timeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ func CreateTimeline(samples []*StackSample, ignoreCreators []string, goroutines
return tl
}

// InternalCall returns true if the call is internal to the Go runtime.
func InternalCall(c stack.Call) bool {
if c.Func.DirName == "syscall" {
return true
Expand Down

0 comments on commit f812751

Please sign in to comment.