From 55c9cfb80e066713f009547f7df7dddd2da35eb8 Mon Sep 17 00:00:00 2001 From: baude Date: Thu, 9 Nov 2017 09:29:15 -0600 Subject: Add cpu-profiling to kpod Add a global flag for cpu-profiling to allow us to profile kpod for performance issues. To parse its results, use: go tool pprof --text Signed-off-by: baude Closes: #36 Approved by: mheon --- docs/kpod.1.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/kpod.1.md b/docs/kpod.1.md index 408ad3877..f1b74b58f 100644 --- a/docs/kpod.1.md +++ b/docs/kpod.1.md @@ -26,6 +26,9 @@ has the capability to debug pods/images created by crio. **--config value, -c**=**"config.file"** Path of a config file detailing container server configuration options +**--cpu-profile** + Path to where the cpu performance results should be written + **--log-level** log messages above specified level: debug, info, warn, error (default), fatal or panic -- cgit v1.2.3-54-g00ecf