X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=lib%2Fperf-counter.c;h=62e2d76ddfc816c026ae413c5f9f4ef58241e62e;hb=8f79bb4d3999d993424e9578342b4130d10a556c;hp=0e899995a25200859292b967443f422177dda12c;hpb=8790a8b4eff04ab10fab3581ff97059899c72d6a;p=cascardo%2Fovs.git diff --git a/lib/perf-counter.c b/lib/perf-counter.c index 0e899995a..62e2d76dd 100644 --- a/lib/perf-counter.c +++ b/lib/perf-counter.c @@ -27,14 +27,11 @@ #include #include #include "dynamic-string.h" -#include "openvswitch/vlog.h" #include "perf-counter.h" #include "shash.h" #include "util.h" -VLOG_DEFINE_THIS_MODULE(perf_counter); - -static struct shash perf_counters; +static struct shash perf_counters = SHASH_INITIALIZER(&perf_counters); static int fd__ = 0; uint64_t