Key pending EarlyTraceEvents by name+tid.

Chrome tracing allows starting similarly named events from different
threads. EarlyTraceEvents throws an exception in this case because it
keys pending events by name only.

This CL changes pending events key to be name+tid, separating events
from different threads.

Bug: 807034
Change-Id: Ia6d4ac740ec028a14c5269d09148db4d1a5d33ce
Reviewed-on: https://chromium-review.googlesource.com/1055941
Commit-Queue: Dmitry Skiba <dskiba@chromium.org>
Reviewed-by: agrieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558829}

CrOS-Libchrome-Original-Commit: c6d31e97721f9982a5a7bcaad534fda6763e2e80
2 files changed
tree: 228c8a69ed4f31bea9b1fc89e24f1cdb99a22df4
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/