runtime: change configuration key name from EnablePprof to enable_pprof

Key name in configuration file is in snake case but not camel case.
And the key is processed as `enable_pprof` in code, the configuration
template file should replace `EnablePprof` it by `enable_pprof`

Fixes: #1109

Signed-off-by: bin liu <bin@hyper.sh>
This commit is contained in:
bin liu 2020-11-13 14:52:56 +08:00
parent 61fccef643
commit 14a21c3ab1
4 changed files with 4 additions and 4 deletions

View File

@ -235,4 +235,4 @@ experimental=@DEFAULTEXPFEATURES@
# If enabled, user can run pprof tools with shim v2 process through kata-monitor.
# (default: false)
# EnablePprof = true
# enable_pprof = true

View File

@ -234,4 +234,4 @@ experimental=@DEFAULTEXPFEATURES@
# If enabled, user can run pprof tools with shim v2 process through kata-monitor.
# (default: false)
# EnablePprof = true
# enable_pprof = true

View File

@ -360,4 +360,4 @@ experimental=@DEFAULTEXPFEATURES@
# If enabled, user can run pprof tools with shim v2 process through kata-monitor.
# (default: false)
# EnablePprof = true
# enable_pprof = true

View File

@ -506,4 +506,4 @@ experimental=@DEFAULTEXPFEATURES@
# If enabled, user can run pprof tools with shim v2 process through kata-monitor.
# (default: false)
# EnablePprof = true
# enable_pprof = true