• Michael Achenbach's avatar
    Revert "[builtins] Add %IsTraceCategoryEnabled and %Trace builtins" · c888293c
    Michael Achenbach authored
    This reverts commit 8d4572a2.
    
    Reason for revert:
    https://ci.chromium.org/p/v8/builders/luci.v8.ci/V8%20Linux64%20TSAN/21312
    
    Original change's description:
    > [builtins] Add %IsTraceCategoryEnabled and %Trace builtins
    > 
    > Adds the builtin Trace and IsTraceCategoryEnabled functions
    > exposed via extra bindings. These are intended to use by
    > embedders to allow basic trace event support from JavaScript.
    > 
    > ```js
    > isTraceCategoryEnabled('v8.some-category')
    > 
    > trace('e'.charCodeAt(0), 'v8.some-category',
    >       'Foo', 0, { abc: 'xyz'})
    > ```
    > 
    > Bug: v8:7851
    > Change-Id: I7bfb9bb059efdf87d92a56a0aae326650730c250
    > Reviewed-on: https://chromium-review.googlesource.com/1103294
    > Commit-Queue: Yang Guo <yangguo@chromium.org>
    > Reviewed-by: Yang Guo <yangguo@chromium.org>
    > Reviewed-by: Fadi Meawad <fmeawad@chromium.org>
    > Reviewed-by: Camillo Bruni <cbruni@chromium.org>
    > Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#54121}
    
    TBR=fmeawad@chromium.org,yangguo@chromium.org,cbruni@chromium.org,bmeurer@chromium.org,jasnell@gmail.com
    
    Change-Id: I352e2413aa771ba9eb069bcc26c04414abfc500f
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: v8:7851
    Reviewed-on: https://chromium-review.googlesource.com/1122036Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
    Commit-Queue: Michael Achenbach <machenbach@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#54123}
    c888293c
test-trace-event.cc 8.67 KB