Fixed an issue where tracing events got incorrectly enabled.

This specifically happened when the tracing config had excluded specific categories, and a multi-category trace event occured with one of its categories present in the excluded list. The code incorrectly assumed this meant the non-excluded categories were enabled, not accounting for disabled-by-default categories.

R=simonhatch@chromium.org

BUG=560485

Review URL: https://codereview.chromium.org/1479443002

Cr-Commit-Position: refs/heads/master@{#361667}


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