| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Reland "Reland "Add Perfetto V8 DataSource"" This is a reland of commit da3002f95e3091bfe04ceb4f7befc557c7599b01 + Changes to remove dependencies on Perfetto time utilities, which seemed to cause issues in Win builds. We now use V8 libraries helpers instead. Original change's description: > Reland "Add Perfetto V8 DataSource" > > This is a reland of commit 31dd6d580b31148583c06ca31c442e4232d28337 > > + a fix for the BUILD dependency issues (see diff between patchsets 1 > and 2) > > + Changes to delay when the logger instances are registered with the > Isolate. We only register if there are any active DataSources as having > a logger registered (even if it does nothing) is not for free. E.g. This > was causing a test to fail as a new code path was being executed because > there was one registered logger. (See diff patchset 3 to 4) > > + set the proto field is_process_wide in InternIsolate(). This change > must have gone lost at some point during the prev reviews. (See diff > patchset 5 to 6) > > + Fix when writing the default proto (order of nested messages is > important when writing protozero messages). I had fixed this before, so > I am starting to think that I forgot to upload one of my last patchsets. > Anyway this should be the last one, as I tried to ingest a huge trace > with the new protos and it worked. (See diff 7 to 8) > > + Added a flag to selectively enable this new data source. Just in case. > (See diff 9 to 10) > > Original change's description: > > Add Perfetto V8 DataSource > > > > Add support for a V8 DataSource to log code events. > > > > Bug: b/283794416 > > Change-Id: I1d2db23854c5753efd68bb63ea31913e80909eb0 > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5137675 > > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > > Commit-Queue: Carlos Caballero Grolimund <carlscab@google.com> > > Reviewed-by: Camillo Bruni <cbruni@chromium.org> > > Cr-Commit-Position: refs/heads/main@{#91919} > > Bug: b/283794416 > Change-Id: Ifa816c0df4512fa7e29ba5e6c634e3a4c9c387ba > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5215649 > Reviewed-by: Camillo Bruni <cbruni@chromium.org> > Commit-Queue: Carlos Caballero Grolimund <carlscab@google.com> > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Cr-Commit-Position: refs/heads/main@{#91938} Bug: b/283794416 Change-Id: I6b56285f66cbf3594225cfd17f0a7a67f6a75142 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5233802 Commit-Queue: Carlos Caballero Grolimund <carlscab@google.com> Reviewed-by: Toon Verwaest <verwaest@chromium.org> Cr-Commit-Position: refs/heads/main@{#91986} | 2 年前 | |
Add DIR_METADATA files to v8. Generate DIR_METADATA files and remove metadata from OWNERS files for v8. R=jkummerow@chromium.org, ochang@chromium.org, yangguo@chromium.org Bug: chromium:1113033 Change-Id: I82cbb62e438d82dbbc408e87120af39fa9da0afa Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2476680 Reviewed-by: Adam Klein <adamk@chromium.org> Reviewed-by: Maya Lekova <mslekova@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org> Cr-Commit-Position: refs/heads/master@{#70669} | 5 年前 | |
Update OWNERS in src/* Change-Id: Ib54d5abad3e67f74d1930af135778e1f201ba28f Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2712964 Commit-Queue: Hannes Payer <hpayer@chromium.org> Reviewed-by: Ross McIlroy <rmcilroy@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Reviewed-by: Adam Klein <adamk@chromium.org> Cr-Commit-Position: refs/heads/master@{#73050} | 5 年前 | |
TicketNo:DTS2026040312077;DTS2026040207037;DTS2026040207036;DTS2026040135724;DTS2026040135722;DTS2026032818442;DTS2026032530470;DTS2026032530464;DTS2026031327981;DTS2026031222703;DTS2026031222694;DTS2026031222686;DTS2026031222671;DTS2026031222662;DTS2026031222654 Description:【CVE-2026-4450】【487746373】【490642836】【CVE-2026-4457】【488803413】[CVE-2026-4461][490558172][489159859][481749436][491191100][492077213][496629079][472181383][480442279][481295170][485784597][474402856][483220222] Team:v8 Feature or Bugfix:Bugfix Binary Source:No PrivateCode(Yes/No):No Change-Id: Iae84c8fcc36a25b1936ec0997008368f70096cd6 Reviewed-by: y00500721 Approved-by: w00518651 Merged-on: https://open.codehub.huawei.com/OpenSourceCenter_CR/openharmony-tpc/chromium_v8/-/change_requests/534 Merged-by: public pjenkins Signed-off-by: Marja Hölttä <marja@chromium.org> | 1 个月前 | |
[perfetto] Add V8_USE_PERFETTO_SDK build flag Add a build time flag to use Perfetto SDK header perfetto.h. Refs: https://github.com/nodejs/diagnostics/issues/654 Bug: 457135433 Change-Id: Ifefa3687d7bd7b1f1af78a681bb48ded39f84f57 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7111260 Reviewed-by: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Chengzhong Wu <cwu631@bloomberg.net> Cr-Commit-Position: refs/heads/main@{#103565} | 7 个月前 | |
[perfetto] Add V8_USE_PERFETTO_SDK build flag Add a build time flag to use Perfetto SDK header perfetto.h. Refs: https://github.com/nodejs/diagnostics/issues/654 Bug: 457135433 Change-Id: Ifefa3687d7bd7b1f1af78a681bb48ded39f84f57 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7111260 Reviewed-by: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Chengzhong Wu <cwu631@bloomberg.net> Cr-Commit-Position: refs/heads/main@{#103565} | 7 个月前 | |
[perfetto] Add V8_USE_PERFETTO_SDK build flag Add a build time flag to use Perfetto SDK header perfetto.h. Refs: https://github.com/nodejs/diagnostics/issues/654 Bug: 457135433 Change-Id: Ifefa3687d7bd7b1f1af78a681bb48ded39f84f57 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7111260 Reviewed-by: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Chengzhong Wu <cwu631@bloomberg.net> Cr-Commit-Position: refs/heads/main@{#103565} | 7 个月前 | |
[cleanup] Use ToStdString() over ToCString() wherever std::string[_view] is needed Separated from https://chromium-review.googlesource.com/c/v8/v8/+/6628475/1 since it is mostly a cleanup within Intl code. This avoids allocating a new std::string or scanning for a null terminator. I tried to be conservative here; but there might be a benefit to just getting rid of all ToCString() calls and using std::string instead. Bug: 415359720 Change-Id: Ie0c1a8a972fff4b0a983846e5652087595c590a8 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6628476 Reviewed-by: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Igor Sheludko <ishell@chromium.org> Commit-Queue: Manish Goregaokar <manishearth@google.com> Reviewed-by: Jakob Linke <jgruber@chromium.org> Cr-Commit-Position: refs/heads/main@{#100754} | 1 年前 | |
[perfetto] Add V8_USE_PERFETTO_SDK build flag Add a build time flag to use Perfetto SDK header perfetto.h. Refs: https://github.com/nodejs/diagnostics/issues/654 Bug: 457135433 Change-Id: Ifefa3687d7bd7b1f1af78a681bb48ded39f84f57 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7111260 Reviewed-by: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Chengzhong Wu <cwu631@bloomberg.net> Cr-Commit-Position: refs/heads/main@{#103565} | 7 个月前 | |
Reland "Fix string generation" This is a reland of commit c04ebf953da2d1410afe0b5be45725d148c3f91c It fixes the referenced compile error by not using ConstBytes at all. Original change's description: > Fix string generation > > The current code was not properly extracting strings when the v8 string > was not flat. > > Bug: b/283794416 > Change-Id: Ibf72d6a4017ede877fe1211e8e328599e7690687 > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5273565 > Reviewed-by: Camillo Bruni <cbruni@chromium.org> > Commit-Queue: Carlos Caballero Grolimund <carlscab@google.com> > Cr-Commit-Position: refs/heads/main@{#92247} Bug: b/283794416 Change-Id: I2a06b0a86d9e734e9a529919a34286abe93c7b7b Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5279450 Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Carlos Caballero Grolimund <carlscab@google.com> Cr-Commit-Position: refs/heads/main@{#92395} | 2 年前 | |
[base] Rename functional.h to hashing.h That header defines our custom hashing infrastructure, so we should name it appropriately. There's no reason to follow the stdlib naming, which defines std::hash in the <functional> header. R=leszeks@chromium.org Bug: 380896845 Change-Id: I5e45ba5e55f677daacbb342b4e6591e1b3e186ea Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6054260 Commit-Queue: Clemens Backes <clemensb@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/main@{#97450} | 1 年前 | |
[heap] Emit gc tracer state as async events This CL emits async events for gc-tracer state to 3 dedicated tracks: - high level Event::Type - incremental / observable pause phases - Event::State Screenshot: https://screenshot.googleplex.com/9sgPs4UqCrF2nLG Trace: https://ui.perfetto.dev/#!/?s=3788694f8c9ce49192aa95a1428c8224122297f9 Change-Id: I5fb2115531b3a20422e48df0a559a223639d7826 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7042019 Reviewed-by: Dominik Inführ <dinfuehr@chromium.org> Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org> Cr-Commit-Position: refs/heads/main@{#103227} | 8 个月前 | |
[perfetto] Add V8_USE_PERFETTO_SDK build flag Add a build time flag to use Perfetto SDK header perfetto.h. Refs: https://github.com/nodejs/diagnostics/issues/654 Bug: 457135433 Change-Id: Ifefa3687d7bd7b1f1af78a681bb48ded39f84f57 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7111260 Reviewed-by: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Chengzhong Wu <cwu631@bloomberg.net> Cr-Commit-Position: refs/heads/main@{#103565} | 7 个月前 | |
[tracing] Add perfetto stubs and remove #if directives This CL adds perfetto stubs for common class and macros (not exhaustive) and removes now unnecessary #if directives. Change-Id: Ib4bf7ea79f6348e59a870b474746f0ba80acd08b Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7030546 Reviewed-by: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org> Cr-Commit-Position: refs/heads/main@{#103096} | 8 个月前 | |
Revert "[tracing] Use base::TimeTicks for trace macro timestamps" This reverts commit 33774bd08e6438f6d7e6a97b912777177e3bae7f. Reason for revert: Failing the chromium roll: https://ci.chromium.org/ui/p/chromium/builders/try/linux_chromium_compile_dbg_ng/1965774/overview Original change's description: > [tracing] Use base::TimeTicks for trace macro timestamps > > This fixes an issue where performance.measure slices had incorrect > timestamps when running with perfetto (the legacy tracing used > microseconds, while perfetto uses nanoseconds, and we were passing in an > int64_t without units). > > Change-Id: I42bec62fb350bd2090ed12b3b0db111625ff03f5 > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5435116 > Reviewed-by: Camillo Bruni <cbruni@chromium.org> > Auto-Submit: Leszek Swirski <leszeks@chromium.org> > Commit-Queue: Camillo Bruni <cbruni@chromium.org> > Cr-Commit-Position: refs/heads/main@{#93259} Change-Id: I424b7bc0b917bb95ece808e6dd155cfee39544d5 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5439413 Commit-Queue: Matthias Liedtke <mliedtke@chromium.org> Owners-Override: Matthias Liedtke <mliedtke@chromium.org> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#93262} | 2 年前 | |
Fix Perfetto multi-instance bug in TRACE_EVENT_CALL_STATS_SCOPED Move has_parent_scope_ computation outside TRACE_EVENT_BEGIN lambda to prevent per-instance state corruption. Previously, the lambda executed once per Perfetto tracing instance, causing later instances to see an already-reset table and incorrectly compute has_parent_scope_. This led to missing Reset/Dump calls for the outermost scope. Additionally, guard Reset() with did_reset_ to ensure it runs exactly once across multiple instances, avoiding redundant counter clearing. Bug: 457945084 Change-Id: I4cd228478b3ef8b8c534f4407b31bb42288ba9a9 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7082962 Commit-Queue: Issack John <issackjohn@microsoft.com> Reviewed-by: Toon Verwaest <verwaest@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/main@{#103574} | 7 个月前 | |
Use atomic sequence for sample trace ids I noticed the current approach yielded collisions in the generated sample trace ids on events with close timestamps, likely due to a loss of precision in the way the hash seeds are casted and combined In any case, for the sake of simplicity and performance (given the cost of obtaining a timestamp with base::TimeTicks::now()) this implements a helper that computes a trace id based on an atomic sequential number. Bug: 390155857 Change-Id: I87969a7be30f30001655c63c8d93b49ad8158a00 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6227576 Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Andres Olivares <andoli@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/main@{#98566} | 1 年前 | |
[perfetto] Add V8_USE_PERFETTO_SDK build flag Add a build time flag to use Perfetto SDK header perfetto.h. Refs: https://github.com/nodejs/diagnostics/issues/654 Bug: 457135433 Change-Id: Ifefa3687d7bd7b1f1af78a681bb48ded39f84f57 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7111260 Reviewed-by: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Chengzhong Wu <cwu631@bloomberg.net> Cr-Commit-Position: refs/heads/main@{#103565} | 7 个月前 | |
Make sample trace id an integer in parsed CPU profile That makes it a bit easier to process. Bug: 390155857 Change-Id: I44d40b34f7951fd5cd1521cf3bac771be602f828 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6198143 Auto-Submit: Andres Olivares <andoli@chromium.org> Reviewed-by: Simon Zünd <szuend@chromium.org> Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/main@{#98361} | 1 年前 | |
Remove unnecessary includes from various headers Clean up unnecessary inclides in a few headers, and then add forward declarations and do IWYU to fix the build. Also remove a few instances of "v8::" usage inside namespace v8. Change-Id: I52717f321fe2fa584f266b53eab9b38adf6041ea Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5384986 Reviewed-by: Toon Verwaest <verwaest@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/main@{#93124} | 2 年前 | |
[Tracing w/SDK] Replace TraceStateObserver with TrackEventSessionObserver With v8_use_perfetto = true, tracing sessions are controlled by Perfetto, not TraceLog. This can lead to inconsistencies, e.g. TraceLog signalling trace start while V8's TrackEvent datasource hasn't been initialized yet. This CL removes the TraceStateObserver interface and replaces its uses with perfetto::TrackEventSessionObserver which correctly tracks Perfetto tracing sessions start and end. See also crrev.com/c/4066184 for the corresponding Chrome change. Bug: chromium:1006766 Change-Id: I94b2189c8b28aec8b17ec8fc1246e27c904e4ee9 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4062038 Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Mikhail Khokhlov <khokhlov@google.com> Cr-Commit-Position: refs/heads/main@{#84590} | 3 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 1 个月前 | ||
| 7 个月前 | ||
| 7 个月前 | ||
| 7 个月前 | ||
| 1 年前 | ||
| 7 个月前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 8 个月前 | ||
| 7 个月前 | ||
| 8 个月前 | ||
| 2 年前 | ||
| 7 个月前 | ||
| 1 年前 | ||
| 7 个月前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 3 年前 |