polytracker
polytracker copied to clipboard
Improve function name logging during function tracking
In the current implementation fast path, each function entry would have to
- strlen(function-name)
- acquire lock
- lookup function name map (compute hash)
- return index
Couldn't all this information be known at compile time? I don't think we should change the current approach, but rather think about if we should do a follow up PR that tries to shift as much work as possible to compile time.
Originally posted by @hbrodin in https://github.com/trailofbits/polytracker/pull/6473#discussion_r971663568