]> git.proxmox.com Git - mirror_ovs.git/commit
coverage: Add command for reading counter value.
authorJakub Sitnicki <jkbs@redhat.com>
Fri, 17 May 2019 19:56:39 +0000 (12:56 -0700)
committerBen Pfaff <blp@ovn.org>
Fri, 24 May 2019 18:37:29 +0000 (11:37 -0700)
commit927992ce4e40482b243be549beadcc3442be49fb
tree256c1fc6b5aab106b837ebeedb6190ab912a3aed
parentc62ec1e23b74e714f24b2bb31ffa984a2a62f3a2
coverage: Add command for reading counter value.

From: Jakub Sitnicki <jkbs@redhat.com>

Facilitate checking coverage counters from scripts and tests with a new
coverage/read-counter command that gets the total count for a counter.

Same could be achieved by scraping the output of coverage/show command
but the difficulties there are that output is in human readable format
and zero-value counters are not listed.

Signed-off-by: Jakub Sitnicki <jkbs@redhat.com>
Acked-by: Han Zhou <hzhou8@ebay.com>
Signed-off-by: Han Zhou <hzhou8@ebay.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/coverage-unixctl.man
lib/coverage.c