Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trace_events: add internal binding for intrinsic trace #21899

Closed
wants to merge 2 commits into from

Commits on Jul 20, 2018

  1. deps: V8: Backport of 0dd3390 from upstream

    Original commit message:
    
      Reland "[builtins] Add %IsTraceCategoryEnabled and %Trace builtins"
    
      This is a reland of 8d4572a
    
      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: 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@{nodejs#54121}
    
      TBR=cbruni@chromium.org
    
      Bug: v8:7851
      Change-Id: Id063754b2834b3b6a2b2654e76e8637bcd6aa5f8
      Reviewed-on: chromium-review.googlesource.com/1137071
      Commit-Queue: Yang Guo <yangguo@chromium.org>
      Reviewed-by: Yang Guo <yangguo@chromium.org>
      Reviewed-by: Camillo Bruni <cbruni@chromium.org>
      Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{nodejs#54532}
    jasnell committed Jul 20, 2018
    Configuration menu
    Copy the full SHA
    cc39d16 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4a40c18 View commit details
    Browse the repository at this point in the history