Commit 59cbcb7f authored by Peter Marshall's avatar Peter Marshall Committed by Commit Bot

[tracing] Roll perfetto

Roll perfetto to get the fix for a TSAN race.

We need to override a new method on the producer, ClearIncrementalState.
It is only called if the producer opts into it, which we do not so we
add UNREACHABLE() in the implementation.

Cq-Include-Trybots: luci.v8.try:v8_linux64_perfetto_dbg_ng
Bug: v8:8339
Change-Id: I782989f32b511e98479f6637148e3bdd78a6578a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1615461Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61584}
parent 32537676
......@@ -238,7 +238,7 @@ deps = {
'v8/test/wasm-js/data':
Var('chromium_url') + '/external/github.com/WebAssembly/spec.git' + '@' + '263af5ad374c66d1d09544bb05c5d6038f095b0e',
'v8/third_party/perfetto':
Var('android_url') + '/platform/external/perfetto.git' + '@' + '70fed1d420d31510e29aae328cbb3aa3f0a80e25',
Var('android_url') + '/platform/external/perfetto.git' + '@' + '10c98fe0cfae669f71610d97e9da94260a6da173',
'v8/third_party/protobuf':
Var('chromium_url') + '/external/github.com/google/protobuf'+ '@' + 'b68a347f56137b4b1a746e8c7438495a6ac1bd91',
}
......
......@@ -10,6 +10,7 @@
#include "perfetto/tracing/core/producer.h"
#include "perfetto/tracing/core/tracing_service.h"
#include "src/base/logging.h"
namespace v8 {
namespace platform {
......@@ -51,6 +52,12 @@ class PerfettoProducer final : public ::perfetto::Producer {
void Flush(::perfetto::FlushRequestID,
const ::perfetto::DataSourceInstanceID*, size_t) override {}
void ClearIncrementalState(
const ::perfetto::DataSourceInstanceID* data_source_ids,
size_t num_data_sources) override {
UNREACHABLE();
}
std::unique_ptr<ServiceEndpoint> service_endpoint_;
uint32_t target_buffer_ = 0;
PerfettoTracingController* tracing_controller_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment