-
-
Save felixge/b3a2436035ccfc24d3a0aa0fe98b3c57 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ $GO test -short -v -run 'TestLabelSystemstack' -count 100 | grep 'have label' | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ $GO test -short -v -run 'TestLabelSystemstack' -count 100 | grep 'have label' | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1467: only 0.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1467: only 50.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1467: only 75.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1467: only 75.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1467: only 66.7% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1467: only 50.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1467: only 50.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1467: only 83.3% of labelHog(systemstack()) samples have label | |
pprof_test.go:1467: only 80.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1467: only 0.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1467: only 80.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1467: only 0.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1467: only 0.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label | |
pprof_test.go:1470: 100.0% of labelHog(systemstack()) samples have label |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/runtime/pprof/pprof_test.go b/src/runtime/pprof/pprof_test.go | |
index 913f899593..16609f1c52 100644 | |
--- a/src/runtime/pprof/pprof_test.go | |
+++ b/src/runtime/pprof/pprof_test.go | |
@@ -1466,6 +1466,8 @@ func TestLabelSystemstack(t *testing.T) { | |
if ratio < 0.9 { | |
t.Logf("only %.1f%% of labelHog(systemstack()) samples have label", ratio*100) | |
return false | |
+ } else if withLabel+withoutLabel > 0 { | |
+ t.Logf("%.1f%% of labelHog(systemstack()) samples have label", ratio*100) | |
} | |
return true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment