mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
expand profiling to include values to which globals are assigned
This commit is contained in:
parent
dd05beff50
commit
158e82a2c1
2 changed files with 104 additions and 4 deletions
|
@ -339,6 +339,10 @@ protected:
|
|||
// Incorporate the given function profile into the global profile.
|
||||
void MergeInProfile(ProfileFunc* pf);
|
||||
|
||||
// Recursively traverse a (possibly aggregate) value to extract
|
||||
// all of the types its elements use.
|
||||
void TraverseValue(const ValPtr& v);
|
||||
|
||||
// When traversing types, Zeek records can have attributes that in
|
||||
// turn have expressions associated with them. The expressions can
|
||||
// in turn have types, which might be records with further attribute
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue