summaryrefslogtreecommitdiff
path: root/profiling.md
diff options
context:
space:
mode:
Diffstat (limited to 'profiling.md')
-rw-r--r--profiling.md36
1 files changed, 7 insertions, 29 deletions
diff --git a/profiling.md b/profiling.md
index 5e74d25f..a95840f4 100644
--- a/profiling.md
+++ b/profiling.md
@@ -1,34 +1,5 @@
<!-- BEGIN MUNGE: UNVERSIONED_WARNING -->
-<!-- BEGIN STRIP_FOR_RELEASE -->
-
-<img src="http://kubernetes.io/img/warning.png" alt="WARNING"
- width="25" height="25">
-<img src="http://kubernetes.io/img/warning.png" alt="WARNING"
- width="25" height="25">
-<img src="http://kubernetes.io/img/warning.png" alt="WARNING"
- width="25" height="25">
-<img src="http://kubernetes.io/img/warning.png" alt="WARNING"
- width="25" height="25">
-<img src="http://kubernetes.io/img/warning.png" alt="WARNING"
- width="25" height="25">
-
-<h2>PLEASE NOTE: This document applies to the HEAD of the source tree</h2>
-
-If you are using a released version of Kubernetes, you should
-refer to the docs that go with that version.
-
-<!-- TAG RELEASE_LINK, added by the munger automatically -->
-<strong>
-The latest release of this document can be found
-[here](http://releases.k8s.io/release-1.2/docs/devel/profiling.md).
-
-Documentation for other releases can be found at
-[releases.k8s.io](http://releases.k8s.io).
-</strong>
---
-
-<!-- END STRIP_FOR_RELEASE -->
<!-- END MUNGE: UNVERSIONED_WARNING -->
@@ -75,6 +46,13 @@ to get 30 sec. CPU profile.
To enable contention profiling you need to add line `rt.SetBlockProfileRate(1)` in addition to `m.mux.HandleFunc(...)` added before (`rt` stands for `runtime` in `master.go`). This enables 'debug/pprof/block' subpage, which can be used as an input to `go tool pprof`.
+
+
+<!-- BEGIN MUNGE: IS_VERSIONED -->
+<!-- TAG IS_VERSIONED -->
+<!-- END MUNGE: IS_VERSIONED -->
+
+
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/devel/profiling.md?pixel)]()
<!-- END MUNGE: GENERATED_ANALYTICS -->