Skip to content

Commit

Permalink
Remove no longer needed tracestack_new.go file (#123)
Browse files Browse the repository at this point in the history
The PR moves `isTraceStack` from the `tracestack_new.go` to
`options.go`. The file `tracestack_new.go` became unnecessary after #79.
  • Loading branch information
alexandear authored Jun 5, 2024
1 parent 7f1444f commit 3b6d3dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 30 deletions.
4 changes: 4 additions & 0 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,3 +196,7 @@ func isStdLibStack(s stack.Stack) bool {
// Using signal.Notify will start a runtime goroutine.
return s.HasFunction("runtime.ensureSigM")
}

func isTraceStack(s stack.Stack) bool {
return s.HasFunction("runtime.ReadTrace")
}
30 changes: 0 additions & 30 deletions tracestack_new.go

This file was deleted.

0 comments on commit 3b6d3dd

Please sign in to comment.