diff options
author | moricho <ikeda.morito@gmail.com> | 2020-02-25 16:49:08 +0900 |
---|---|---|
committer | moricho <ikeda.morito@gmail.com> | 2020-02-26 16:49:51 +0900 |
commit | d8ed78431162fcaed0b31b54d939c8a54d4736e7 (patch) | |
tree | bc5fcdc879ee52bed7427ebcae8254ed33e2743f /runsc/boot/controller.go | |
parent | 160d5751ab6a06c22aed7d829a17c88344cc7cf2 (diff) |
add profile option
Diffstat (limited to 'runsc/boot/controller.go')
-rw-r--r-- | runsc/boot/controller.go | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/runsc/boot/controller.go b/runsc/boot/controller.go index 17e774e0c..8125d5061 100644 --- a/runsc/boot/controller.go +++ b/runsc/boot/controller.go @@ -101,11 +101,14 @@ const ( // Profiling related commands (see pprof.go for more details). const ( - StartCPUProfile = "Profile.StartCPUProfile" - StopCPUProfile = "Profile.StopCPUProfile" - HeapProfile = "Profile.HeapProfile" - StartTrace = "Profile.StartTrace" - StopTrace = "Profile.StopTrace" + StartCPUProfile = "Profile.StartCPUProfile" + StopCPUProfile = "Profile.StopCPUProfile" + HeapProfile = "Profile.HeapProfile" + GoroutineProfile = "Profile.GoroutineProfile" + BlockProfile = "Profile.BlockProfile" + MutexProfile = "Profile.MutexProfile" + StartTrace = "Profile.StartTrace" + StopTrace = "Profile.StopTrace" ) // Logging related commands (see logging.go for more details). |