coverage: Don't output similar event coverage more than once.
authorBen Pfaff <blp@nicira.com>
Mon, 1 Jun 2009 22:30:27 +0000 (15:30 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 2 Jun 2009 21:09:16 +0000 (14:09 -0700)
commitc01c21d4eebc9da2ba6c6a315987e1fee3ad2704
tree1b0a1d8aaf8b642ab9079b5ff62772c168cf5010
parentaa72b08d411ffbd5cbb4d63848b943a2a26d7c24
coverage: Don't output similar event coverage more than once.

Too often, the system log was getting filled with event coverage
information that was similar or identical to that logged previously by the
same process.  This commit introduces a hashing mechanism that should
give similar output the same hash value and prevent logging it more than
once per process run.
lib/coverage.c