DescriptionImprove usages of trace_event locks
1. Move category_group_enabled checking out of lock.
2. Move thread_name checking out of lock. Lock on thread_name changes
to check and update thread_names_ map.
3. Check if thread_id is the id of the current thread before checking
thread name change.
4. Move TraceEvent construction out of lock.
5. Put code ECHO_TO_CONSOLE code together and under lock.
6. Add a missing lock in TraceLog::RemoveProcessLabel().
This is the first step for bug 264667. Next step is thread-local event
buffer.
BUG=264667
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216791
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|