v8/include
Maya Lekova 7a62cceb72 [fastcall] Add CPU profiler support for fast calls
This CL introduces a new fast_api_call_target field on the isolate,
which is set by Turbofan before making the fast call. It then uses
the field when creating a stack sample and stores it in the existing
external_callback_entry used for regular API callbacks. The CL also
adds a cctest with simple usage scenario and introduces a minor
refactoring in test-api.cc.

Design doc:
https://docs.google.com/document/d/1r32qlPzGz0P7nieisJ5h2qfSnWOs40Cigt0LXPipejE/edit

Bug: chromium:1052746
Change-Id: I2dab1bc395ccab0c14088f7c354fb52b08df8d32
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2488683
Commit-Queue: Maya Lekova <mslekova@chromium.org>
Reviewed-by: Georg Neis <neis@chromium.org>
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71254}
2020-11-18 12:29:22 +00:00
..
cppgc cppgc: Add example for AdditionalBytes 2020-11-11 18:06:48 +00:00
libplatform [api] Introduce a single-threaded version of DefaultPlatform 2020-11-13 17:20:58 +00:00
APIDesign.md Move inspector protocol definitions to include/ 2019-06-18 17:59:36 +00:00
DEPS api,heap: Add public version of CppHeap 2020-11-17 11:15:05 +00:00
DIR_METADATA Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
js_protocol-1.2.json Move inspector protocol definitions to include/ 2019-06-18 17:59:36 +00:00
js_protocol-1.3.json Move inspector protocol definitions to include/ 2019-06-18 17:59:36 +00:00
js_protocol.pdl Introduce CSPViolation as pause reason (V8) 2020-11-13 09:42:04 +00:00
OWNERS Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
v8-cppgc.h api,heap: Add public version of CppHeap 2020-11-17 11:15:05 +00:00
v8-fast-api-calls.h [fastcall] Turn the options pointer to a reference 2020-10-22 12:44:54 +00:00
v8-inspector-protocol.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-inspector.h Prepare for moving object description generation to blink (ValueMirror) 2020-10-29 09:39:11 +00:00
v8-internal.h [fastcall] Add CPU profiler support for fast calls 2020-11-18 12:29:22 +00:00
v8-metrics.h (Step 1 of 2): Prepping Wasm events in the Recorder interface 2020-11-09 15:29:14 +00:00
v8-platform.h [Jobs API] Rename !IsCompleted -> IsActive 2020-10-30 19:57:38 +00:00
v8-profiler.h Reland "cppgc-js: heap snapshot: Add logic for querying detachedness" 2020-10-29 09:18:21 +00:00
v8-unwinder-state.h [unwinder] Restore callee saved registers after unwinding in arm32 2020-10-20 12:32:09 +00:00
v8-util.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-value-serializer-version.h Expose the ValueSerializer data format version as a compile-time constant. 2017-04-27 15:14:41 +00:00
v8-version-string.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-version.h Change Version number to 8.9 2020-11-12 11:55:44 +00:00
v8-wasm-trap-handler-posix.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-wasm-trap-handler-win.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8.h [API] Advance API deprecation 2020-11-18 10:45:39 +00:00
v8config.h [fastcall] Generalize fallback option for fast API calls 2020-10-20 08:14:09 +00:00