Home GnuPG
Diffusion GnuPG 3a10de3bfd78

gpg: Print more stats for the keydb and the signature cache.

Description

gpg: Print more stats for the keydb and the signature cache.

* g10/sig-check.c (sig_check_dump_stats): New.
(cache_stats): New struct.
(check_key_signature2): Update stats.
* g10/gpg.c (g10_exit): Call new function.
* g10/keydb.c (kid_not_found_cache_count): Replace by ...
(kid_not_found_stats): ... new struct.  Change users.
(keydb_stats): New struct.  Update the counters.
(keydb_dump_stats): Print all stats.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 31 2017, 8:03 PM
Parents
rG52ba5e67cad4: gpg: Assert that an opaque parameter is really what we expect.
Branches
Unknown
Tags
Unknown