[diagnostics] Guard GetCategoryGroupName behind V8_USE_PERFETTO ifdef
I was trying to build chromium with Perfetto enabled and I ran into this compilation error: ``` ../../v8/src/libplatform/tracing/recorder-win.cc(48,42): error: no member named 'GetCategoryGroupName' in 'v8::platform::tracing::TracingController' TracingController::GetCategoryGroupName( ~~~~~~~~~~~~~~~~~~~^ 1 error generated. ``` This happens because the GetCategoryGroupName() function is added to the TracingController class only if Perfetto is disabled. Signed-off-by: Darshan Sen <raisinten@gmail.com> Change-Id: If53dab5ea9b8c3e2f69e8e84c8d6ba06ee3c496e Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3616427Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/main@{#80310}
Showing
Please
register
or
sign in
to comment