mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-14 05:19:21 +00:00
Merge pull request #398 from liubin/wip/add-pprof-interface
runtime: add pprof interface for shim
This commit is contained in:
@@ -221,6 +221,9 @@ const (
|
||||
// SandboxCgroupOnly is a sandbox annotation that determines if kata processes are managed only in sandbox cgroup.
|
||||
SandboxCgroupOnly = kataAnnotRuntimePrefix + "sandbox_cgroup_only"
|
||||
|
||||
// EnablePprof is a sandbox annotation that determines if pprof enabled.
|
||||
EnablePprof = kataAnnotRuntimePrefix + "enable_pprof"
|
||||
|
||||
// Experimental is a sandbox annotation that determines if experimental features enabled.
|
||||
Experimental = kataAnnotRuntimePrefix + "experimental"
|
||||
|
||||
|
@@ -121,6 +121,9 @@ type RuntimeConfig struct {
|
||||
|
||||
//Experimental features enabled
|
||||
Experimental []exp.Feature
|
||||
|
||||
// Determines if enable pprof
|
||||
EnablePprof bool
|
||||
}
|
||||
|
||||
// AddKernelParam allows the addition of new kernel parameters to an existing
|
||||
|
Reference in New Issue
Block a user