]> sourceware.org Git - systemtap.git/commit
stringtable: add diagnostic logging mode
authorFrank Ch. Eigler <fche@redhat.com>
Sat, 8 Aug 2015 00:19:50 +0000 (20:19 -0400)
committerAbegail Jakop <ajakop@redhat.com>
Tue, 18 Aug 2015 17:24:15 +0000 (13:24 -0400)
commit924f8d22dbcb8d7809e495f5a8f1545805a83f00
tree9fce4359faaa5ae1e019ee03b1ea72eeede2284c
parent174b1425ef72c6a7eb6bc77588e5ca3a7a1c95da
stringtable: add diagnostic logging mode

With INTERNED_STRING_INSTRUMENT set, a /tmp/hash.log file is written
out to record each string being interned.  Looking through that is a
good way of tuning the hash function, as well as what
staptree/etc. variables are reverted to std::string form.  (The hint
is that if strings are hardly ever interned in the log, then maybe
they are not reused either.  But that could instead be because they're
being reused exclusively in interned string_ref form, so don't need to
be rehashed.)
stringtable.cxx
stringtable.h
This page took 0.024048 seconds and 5 git commands to generate.