Conversation
Allows enabling/disabling individual functions
|
Thinking about this more, I wonder if each function should just stash a tracing_enabled local unsafe static rather than this hash map, because each function will have its own separate tracing state (?). Also I think this means we end up embedding the Together those make me wonder if there's some other way to set this up, hrmm. |
I think it's fine, personally. If performance ends up causing an issue there, we'd want to switch away from
I like the idea of having it local to the function, but I also think it's teetering on premature optimization... |
Allows enabling/disabling individual functions with
--win32-trace.