From: Yunping Zheng <[email protected]> this patch add a params when call profilers. using this patch test params dict will be transfered to profilers during test.
Signed-off-by: Yunping Zheng <[email protected]> --- virttest/utils_misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virttest/utils_misc.py b/virttest/utils_misc.py index d37cf87..df74b95 100644 --- a/virttest/utils_misc.py +++ b/virttest/utils_misc.py @@ -1647,7 +1647,7 @@ def run_tests(parser, job): # Setting up profilers during test execution. profilers = param_dict.get("profilers", "").split() for profiler in profilers: - job.profilers.add(profiler) + job.profilers.add(profiler, **param_dict) # We need only one execution, profiled, hence we're passing # the profile_only parameter to job.run_test(). profile_only = bool(profilers) or None -- 1.7.11.7 _______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
