0
Files
src/base/tracing
Daniel Rubery 03e719955f Add new BFCache level for terminated DBSC sessions
A terminated Device Bound Session Credentials session can lead to
authorization changes similar to the way an expired cookie can. This CL
adds a new BFCache CacheControlNoStoreLevel for this, which will evict a
page from the cache if a DBSC session is terminated.

Bug: 353774923
Change-Id: I48e2daddb33d1102b5ccaf946eb0c541b5a07cda
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6198936
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: Eric Seckler <eseckler@chromium.org>
Commit-Queue: Daniel Rubery <drubery@chromium.org>
Reviewed-by: Fergal Daly <fergal@chromium.org>
Reviewed-by: Chris Thompson <cthomp@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1422196}
2025-02-19 14:03:30 -08:00
..

Overhauled performance tracing in Chrome

We are upgrading Chrome's support for performance tracing by replacing Chrome's implementation of TRACE_EVENT macros from //base/trace_event with Perfetto. Perfetto introduces trace events with typed arguments to support privacy-filtered trace recording and a more compact, efficient, and stable trace encoding.

The Perfetto library itself lives in AOSP and is rolled in /third_party/perfetto/.

The code in this directory connects Chrome to Perfetto's tracing SDK, which implements trace event macros on top of Perfetto's tracing service. This service can be run in-process (e.g. in unit tests), as a Chrome mojo service (see //services/tracing), or as a system service on Android.

For more details, see Perfetto's documentation, Typed trace events in Chrome, and Typed trace events in //base.

For a list of Chromium's tracing categories, see base/trace_event/builtin_categories.h.