With this, I'll be able to clean up test 3/12 in the pending opt_set_meta_context() series to test whether filtering was done client- or server-side.
Eric Blake (4): internal: Track traffic stats generator: Add RUInt64 for 64-bit counters without error api: Add new nbd_stats_*() statistics counters tests: Add language binding tests for stats reception docs/libnbd.pod | 20 ++ lib/internal.h | 6 + generator/API.ml | 83 +++++++- generator/API.mli | 3 +- generator/C.ml | 13 +- generator/GoLang.ml | 9 +- generator/OCaml.ml | 5 +- generator/Python.ml | 2 +- generator/states-issue-command.c | 3 +- generator/states-magic.c | 7 +- generator/states-newstyle-opt-export-name.c | 3 +- generator/states-newstyle-opt-go.c | 1 + generator/states-newstyle-opt-list.c | 3 +- generator/states-newstyle-opt-meta-context.c | 1 + generator/states-newstyle-opt-starttls.c | 3 +- .../states-newstyle-opt-structured-reply.c | 1 + generator/states-newstyle.c | 1 + generator/states-reply.c | 6 +- generator/states.c | 2 + lib/handle.c | 28 +++ python/t/620-stats.py | 77 ++++++++ ocaml/tests/Makefile.am | 1 + ocaml/tests/test_620_stats.ml | 77 ++++++++ examples/strict-structured-reads.c | 13 +- golang/Makefile.am | 3 +- golang/libnbd_620_stats.go | 181 ++++++++++++++++++ 26 files changed, 527 insertions(+), 25 deletions(-) create mode 100644 python/t/620-stats.py create mode 100644 ocaml/tests/test_620_stats.ml create mode 100644 golang/libnbd_620_stats.go -- 2.37.2 _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://listman.redhat.com/mailman/listinfo/libguestfs