Commit 4dfaf7c4 authored by Sami Kyostila's avatar Sami Kyostila Committed by Commit Bot

tracing: Add the new v8.wasm.turbofan category to the list of builtin categories

We also change pipeline-statistics.cc to use a combination of turbofan-
related categories since that more accurately reflects the emitted events.

TBR=bmeurer@chromium.org

Bug: chromium:1084929
Change-Id: I85dcd89ab3e4cd95df3ae9791d158b4ab6c00829
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2599749
Commit-Queue: Sami Kyöstilä <skyostil@chromium.org>
Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
Auto-Submit: Sami Kyöstilä <skyostil@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71853}
parent 1af49b85
......@@ -19,10 +19,10 @@ namespace compiler {
namespace {
// We log detailed phase information about the pipeline
// in both the v8.turbofan and the v8.wasm.detailed categories.
// in both the v8.turbofan and the v8.wasm.turbofan categories.
constexpr const char kTraceCategory[] = // --
TRACE_DISABLED_BY_DEFAULT("v8.turbofan") "," // --
TRACE_DISABLED_BY_DEFAULT("v8.wasm.detailed");
TRACE_DISABLED_BY_DEFAULT("v8.wasm.turbofan");
} // namespace
......
......@@ -51,10 +51,11 @@ PERFETTO_DEFINE_CATEGORIES(
perfetto::Category(TRACE_DISABLED_BY_DEFAULT("v8.stack_trace")),
perfetto::Category(TRACE_DISABLED_BY_DEFAULT("v8.turbofan")),
perfetto::Category(TRACE_DISABLED_BY_DEFAULT("v8.wasm.detailed")),
perfetto::Category(TRACE_DISABLED_BY_DEFAULT("v8.wasm.turbofan")),
perfetto::Category(TRACE_DISABLED_BY_DEFAULT("v8.zone_stats")),
perfetto::Category::Group("v8,devtools.timeline"),
perfetto::Category::Group(TRACE_DISABLED_BY_DEFAULT("v8.turbofan") ","
TRACE_DISABLED_BY_DEFAULT("v8.wasm.detailed")));
TRACE_DISABLED_BY_DEFAULT("v8.wasm.turbofan")));
// clang-format on
#endif // defined(V8_USE_PERFETTO)
......
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