diff options
author | Vratko Polak <vrpolak@cisco.com> | 2021-05-12 10:56:45 +0200 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2021-05-12 10:56:45 +0200 |
commit | bd5eec0c49d4db896eab08ab3feb467f5d14ccc8 (patch) | |
tree | a6ecfa993afe1a422b8646448a1a42e8864aefd1 /resources/libraries/python/PapiExecutor.py | |
parent | 78a8427cc50c137e5d59ad3448ae128fdda369b2 (diff) |
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 <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/python/PapiExecutor.py')
-rw-r--r-- | resources/libraries/python/PapiExecutor.py | 2 |
1 files changed, 2 insertions, 0 deletions
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): |