diff --git a/category/get_perf_info.py b/category/get_perf_info.py index e377f8fc96618e7dde49811c721cc6fd66535fd5..9b773c509c8795614ca4081a5bbe556ccdb97052 100644 --- a/category/get_perf_info.py +++ b/category/get_perf_info.py @@ -143,6 +143,17 @@ class Perf(): Logger().error("Application.Perf.duration not allowed to exceed 300") return False return True + + # end add for extuner.conf parser, should consistent with command line parsing + def __check_perf_parameter(self): + if len(perf_args) == 0: + if not self.__check_perf_enable_value(): + return False + if not self.__check_perf_pid(): + return False + if not self.__check_perf_duration(): + return False + return True # OffCPU Class class OffCPU():