mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-12 20:39:30 +00:00
runtime: Re-order funcs in data collection script
Ensure functions defined before calling them in the data collection script. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
@@ -217,25 +217,6 @@ show_runtime_configs()
|
|||||||
separator
|
separator
|
||||||
}
|
}
|
||||||
|
|
||||||
show_log_details()
|
|
||||||
{
|
|
||||||
heading "Logfiles"
|
|
||||||
|
|
||||||
show_runtime_log_details
|
|
||||||
show_proxy_log_details
|
|
||||||
show_shim_log_details
|
|
||||||
show_throttler_log_details
|
|
||||||
|
|
||||||
separator
|
|
||||||
}
|
|
||||||
|
|
||||||
show_runtime_log_details()
|
|
||||||
{
|
|
||||||
subheading "Runtime logs"
|
|
||||||
|
|
||||||
find_system_journal_problems "runtime" "@RUNTIME_NAME@" ""
|
|
||||||
}
|
|
||||||
|
|
||||||
find_system_journal_problems()
|
find_system_journal_problems()
|
||||||
{
|
{
|
||||||
local name="$1"
|
local name="$1"
|
||||||
@@ -268,6 +249,13 @@ show_proxy_log_details()
|
|||||||
find_system_journal_problems "proxy" "@PROJECT_TYPE@-proxy" ""
|
find_system_journal_problems "proxy" "@PROJECT_TYPE@-proxy" ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
show_runtime_log_details()
|
||||||
|
{
|
||||||
|
subheading "Runtime logs"
|
||||||
|
|
||||||
|
find_system_journal_problems "runtime" "@RUNTIME_NAME@" ""
|
||||||
|
}
|
||||||
|
|
||||||
show_shim_log_details()
|
show_shim_log_details()
|
||||||
{
|
{
|
||||||
subheading "Shim logs"
|
subheading "Shim logs"
|
||||||
@@ -282,6 +270,18 @@ show_throttler_log_details()
|
|||||||
find_system_journal_problems "throttler" "" "@PROJECT_TYPE@-ksm-throttler"
|
find_system_journal_problems "throttler" "" "@PROJECT_TYPE@-ksm-throttler"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
show_log_details()
|
||||||
|
{
|
||||||
|
heading "Logfiles"
|
||||||
|
|
||||||
|
show_runtime_log_details
|
||||||
|
show_proxy_log_details
|
||||||
|
show_shim_log_details
|
||||||
|
show_throttler_log_details
|
||||||
|
|
||||||
|
separator
|
||||||
|
}
|
||||||
|
|
||||||
show_package_versions()
|
show_package_versions()
|
||||||
{
|
{
|
||||||
heading "Packages"
|
heading "Packages"
|
||||||
|
Reference in New Issue
Block a user