1. 03 Jul, 2017 1 commit
    • Jochen Eisinger's avatar
      Reland "Switch tracing to use v8::TracingController" · cc59f8b1
      Jochen Eisinger authored
      Original change's description:
      > Switch tracing to use v8::TracingController
      >
      > BUG=v8:6511
      > R=fmeawad@chromium.org
      >
      > Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      > Change-Id: I4961e4b61a9ddc98385ed97c3ffcbcaef2d9cba7
      > Reviewed-on: https://chromium-review.googlesource.com/543144
      > Commit-Queue: Jochen Eisinger <jochen@chromium.org>
      > Reviewed-by: Fadi Meawad <fmeawad@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#46307}
      
      BUG=v8:6511
      TBR=fmeawad@chromium.org
      
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng;master.tryserver.v8:v8_linux64_tsan_rel
      Change-Id: Ide32b409248dfd466e7c0bae1d8ae61d6a955d98
      Reviewed-on: https://chromium-review.googlesource.com/558865
      Commit-Queue: Jochen Eisinger <jochen@chromium.org>
      Reviewed-by: 's avatarJochen Eisinger <jochen@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46381}
      cc59f8b1
  2. 29 Jun, 2017 2 commits
  3. 07 Nov, 2016 1 commit
  4. 03 Nov, 2016 1 commit
    • lpy's avatar
      [Tracing] Make TracingCategoryObserver v8 internal. · 2525b057
      lpy authored
      This patch removes TracingCategoryObserver API and moves the creation of
      observer inside platform initialization, by assuming that either
      Platform::AddTraceStateObserver is implemented correctly to add observer to
      tracing controller that implemented by embedders, or default tracing controller
      has already been set up and attached to platform before
      v8::V8::InitializePlatform is called.
      
      BUG=v8:5590
      
      Review-Url: https://codereview.chromium.org/2471583004
      Cr-Commit-Position: refs/heads/master@{#40739}
      2525b057
  5. 28 Oct, 2016 1 commit
    • lpy's avatar
      [Tracing] Implement TracingCategoryObserver. · 6df8096a
      lpy authored
      This patch implements TracingCategoryObserver to set global flag when a V8
      specific category is enabled. Previously, we set a global flag each time when we
      encounter a top level trace event, and use it as a global check. With this
      patch, we can set a group of flags when tracing is enabled; besides, we make
      V8 tracing feature use V8 flags instead of defining its own flag in a messy way.
      
      With this patch, whatever V8 flag we want to imply in tracing, we define another
      integer flag, and the original V8 flag will set it to 0x01 when passing by
      commandline, tracing will set it to 0x10 when we start tracing and reset the bit
      when we stop tracing.
      
      Review-Url: https://codereview.chromium.org/2436273002
      Cr-Commit-Position: refs/heads/master@{#40659}
      6df8096a