From bd5eec0c49d4db896eab08ab3feb467f5d14ccc8 Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Wed, 12 May 2021 10:56:45 +0200 Subject: PAPI stats: Use single dump There is only one call site (VppCounters.vpp_show_runtime) which uses a single path ("^/sys/node"), so we do not need to split the replies anymore. This simplifies investigating bugs related to VPP stats. Change-Id: Idfc029c795cd78cf6d41c2f461f7844aed53410d Signed-off-by: Vratko Polak --- resources/libraries/python/PapiExecutor.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'resources/libraries') diff --git a/resources/libraries/python/PapiExecutor.py b/resources/libraries/python/PapiExecutor.py index 76d7daf3ed..7bfc8614a5 100644 --- a/resources/libraries/python/PapiExecutor.py +++ b/resources/libraries/python/PapiExecutor.py @@ -872,6 +872,8 @@ class PapiExecutor: is "stats". - the second parameter must be 'path' as it is used by PapiExecutor method 'add'. + - even if the parameter contains multiple paths, there is only one + reply item (for each .add). """ def __init__(self, node): -- cgit 1.2.3-korg