diff options
| author | David McMahon <djmm@google.com> | 2016-06-10 14:21:20 -0700 |
|---|---|---|
| committer | David McMahon <djmm@google.com> | 2016-06-10 14:21:20 -0700 |
| commit | 31b4c511aaa0bf76cc0acaa422d3f864306470c3 (patch) | |
| tree | d6a7ecc26dafffdc3351ce6027127b3b6d391c22 /profiling.md | |
| parent | c520a561a85b8d1aa3b727517606a6b6bd010566 (diff) | |
Versioning docs and examples for v1.4.0-alpha.0.
Diffstat (limited to 'profiling.md')
| -rw-r--r-- | profiling.md | 36 |
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 --> []() <!-- END MUNGE: GENERATED_ANALYTICS --> |
