aboutsummaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2017-11-09 09:29:15 -0600
committerAtomic Bot <atomic-devel@projectatomic.io>2017-11-09 17:36:11 +0000
commit55c9cfb80e066713f009547f7df7dddd2da35eb8 (patch)
treefd32384bcd947ccb4b21feafb1b92a5bfb6b7b8f /completions
parenta0476f6529f2a4c00b91bb0cce353c73d5c4d4d4 (diff)
downloadpodman-55c9cfb80e066713f009547f7df7dddd2da35eb8.tar.gz
podman-55c9cfb80e066713f009547f7df7dddd2da35eb8.tar.bz2
podman-55c9cfb80e066713f009547f7df7dddd2da35eb8.zip
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 <profile_path> Signed-off-by: baude <bbaude@redhat.com> Closes: #36 Approved by: mheon
Diffstat (limited to 'completions')
-rw-r--r--completions/bash/kpod1
1 files changed, 1 insertions, 0 deletions
diff --git a/completions/bash/kpod b/completions/bash/kpod
index 2387228cb..c13e64379 100644
--- a/completions/bash/kpod
+++ b/completions/bash/kpod
@@ -1410,6 +1410,7 @@ _kpod_logout() {
_kpod_kpod() {
local options_with_args="
--config -c
+ --cpu-profile
--root
--runroot
--storage-driver