summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-03-05 17:16:54 -0800
committergVisor bot <gvisor-bot@google.com>2020-03-05 17:16:54 -0800
commit6367963c14e2d3d35805907a7057a63fc58c30f6 (patch)
treef9d1fe261ef7fe70a9d98a219bb6c6de02480264 /runsc/boot
parent9b3aad33c4470908953b7b548b12cba77799f342 (diff)
parentd8ed78431162fcaed0b31b54d939c8a54d4736e7 (diff)
Merge pull request #1951 from moricho:moricho/add-profiler-option
PiperOrigin-RevId: 299233818
Diffstat (limited to 'runsc/boot')
-rw-r--r--runsc/boot/controller.go13
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).