Skip to content

Commit

Permalink
Merge pull request #38 from google/lint1
Browse files Browse the repository at this point in the history
lint
  • Loading branch information
medyagh authored Jan 14, 2025
2 parents 7426648 + f812751 commit 1062cfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/stackparse/stackparse.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ func Read(r io.Reader) ([]*StackSample, error) {
return samples, nil
}

// PkgDotName returns a package-qualified function name.
func PkgDotName(f stack.Func) string {
return fmt.Sprintf("%s.%s", f.DirName, f.Name)
}
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 1062cfa

Please sign in to comment.