ovsdb: integrate perf-counter infrastructure into ovsdb-server
authorAndy Zhou <azhou@nicira.com>
Sat, 21 Mar 2015 07:00:49 +0000 (00:00 -0700)
committerAndy Zhou <azhou@nicira.com>
Tue, 14 Apr 2015 00:25:00 +0000 (17:25 -0700)
commit97a3c43515e86afaff0808e9a9f4cdfaca39792b
tree87769960fc0475254be2a0509de831e3f7298b8c
parent619c3a42dc1e3fb4e5d0afb3c926ac3d1e7ea7a2
ovsdb: integrate perf-counter infrastructure into ovsdb-server

This integration also adds two commands:

ovsdb-server/perf-counters-show -- show all counters
ovsdb-server/perf-counters-clear -- clear all counters

There is no pre-configured sample points. A programmer needs to
added sampling point by changing the source code. However he
does not need to worry about infrastructures such as initialization
or cleaning up memory when ovsdb-server exits.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
ovsdb/ovsdb-server.c