From 14a21c3ab1c0b780a052b501ae94f6a5f1ac57bd Mon Sep 17 00:00:00 2001 From: bin liu Date: Fri, 13 Nov 2020 14:52:56 +0800 Subject: [PATCH] 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 --- src/runtime/cli/config/configuration-acrn.toml.in | 2 +- src/runtime/cli/config/configuration-clh.toml.in | 2 +- src/runtime/cli/config/configuration-fc.toml.in | 2 +- src/runtime/cli/config/configuration-qemu.toml.in | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/runtime/cli/config/configuration-acrn.toml.in b/src/runtime/cli/config/configuration-acrn.toml.in index 6ffa8d5d7a..54f180f52e 100644 --- a/src/runtime/cli/config/configuration-acrn.toml.in +++ b/src/runtime/cli/config/configuration-acrn.toml.in @@ -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 diff --git a/src/runtime/cli/config/configuration-clh.toml.in b/src/runtime/cli/config/configuration-clh.toml.in index 4cc528d564..aa2f5b2c13 100644 --- a/src/runtime/cli/config/configuration-clh.toml.in +++ b/src/runtime/cli/config/configuration-clh.toml.in @@ -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 diff --git a/src/runtime/cli/config/configuration-fc.toml.in b/src/runtime/cli/config/configuration-fc.toml.in index e6a2b823b7..0c504f7d88 100644 --- a/src/runtime/cli/config/configuration-fc.toml.in +++ b/src/runtime/cli/config/configuration-fc.toml.in @@ -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 diff --git a/src/runtime/cli/config/configuration-qemu.toml.in b/src/runtime/cli/config/configuration-qemu.toml.in index 9ced772869..7c2eda5f12 100644 --- a/src/runtime/cli/config/configuration-qemu.toml.in +++ b/src/runtime/cli/config/configuration-qemu.toml.in @@ -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