From: Perry Gagne <pgagne(a)redhat.com>
We decided to ignore tcp_crr stats for now due to a few reasons:
1. It was removed from neper upstream due to memory issues
2. The resulting LRC files where big
3. We were probably not caluclating stats in the first place in the crr
case
4. Neper's stats collection probably needs work to properly collect
stats.
For now we decided to record the server side stats as PerfIntervals of
0.
These patches contain some things to enable that.
Perry Gagne (2):
Utils.py: Added 3.6 backport of contextlib.nullcontext
NeperFlowMeasurement.py: Don't collect tcp_crr server side metric
lnst/Common/Utils.py | 25 ++++++++++++++++
.../Perf/Measurements/NeperFlowMeasurement.py | 8 +++++
lnst/Tests/Neper.py | 29 ++++++++++++++-----
3 files changed, 54 insertions(+), 8 deletions(-)
--
2.30.2