mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Add debug string and ODesc support to HashKey class
This allows tracing of hash key buffer reservations, reads, and writes via a new debug stream, and supports printing a summary of a HashKey object via Describe(). The latter comes in handy e.g. in TableVal::Describe() (where including the hash key is now available but commented out).
This commit is contained in:
parent
82822b1e07
commit
b6a11a69db
5 changed files with 76 additions and 1 deletions
|
@ -2395,6 +2395,9 @@ void TableVal::Describe(ODesc* d) const
|
|||
d_ptr->SP();
|
||||
}
|
||||
|
||||
// The following shows the HashKey state as well:
|
||||
// k->Describe(d_ptr);
|
||||
// d_ptr->SP();
|
||||
vl->Describe(d_ptr);
|
||||
|
||||
if ( table_type->IsSet() )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue