mirror of
https://github.com/restic/restic.git
synced 2026-06-18 14:44:17 +00:00
Vendor github.com/pkg/profile
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
// +build go1.7
|
||||
|
||||
package profile_test
|
||||
|
||||
import "github.com/pkg/profile"
|
||||
|
||||
func ExampleTraceProfile() {
|
||||
// use execution tracing, rather than the default cpu profiling.
|
||||
defer profile.Start(profile.TraceProfile).Stop()
|
||||
}
|
||||
Reference in New Issue
Block a user