diff --git a/common/tool_cmd.py b/common/tool_cmd.py index c7d8f21db9f43b6ef3c2c02353c155e7b6d25d62..75dcc58a9936852977a6c46b12181948be9500a0 100644 --- a/common/tool_cmd.py +++ b/common/tool_cmd.py @@ -88,6 +88,8 @@ class ToolCmd: perf_args = {} if args.offcpu: offcpu_args = {'offcpu_enable': args.offcpu, 'offcpu_pid':args.offcpu_pid, 'offcpu_duration':args.offcpu_duration} + else: + offcpu_args = {} else: perf_args = {} offcpu_args = {}