Commit-Queue | +1 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
tracing::TrackNameRecorder::SetRecordHostAppPackageName(true);
Nit: please use a scoper (eg. absl::Cleanup) to reset to the initial value at the end of the test. (Probably need to add a static getter to TrackNameRecorder.)
static bool record_host_app_package_name_;
Making this static means that it won't get reset to `false` after each test.
Although I guess that's not a regression since TrackNameRecorder wasn't reset between tests either. Nevermind.
DCHECK(perfetto::Tracing::IsInitialized());
Nit: current guidance is to use CHECK here since this isn't in performance-critical code.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +1 |
tracing::TrackNameRecorder::SetRecordHostAppPackageName(true);
Nit: please use a scoper (eg. absl::Cleanup) to reset to the initial value at the end of the test. (Probably need to add a static getter to TrackNameRecorder.)
I don't think we need to worry about scoping things in browser tests (for example most of tracing machinery involved here isn't well isolated, unlike TracingEnvironment in unittests)
Nit: current guidance is to use CHECK here since this isn't in performance-critical code.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
+ntfschr@ for android_webview/lib
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[tracing] Remove TrackRegistry::InitializeInstance in prod
This CL removes TrackRegistry::InitializeInstance (which is meant
to be internal to perfetto) in
InitTracingPostFeatureList; the comment in stale,
and a few changes in TrackNameRecorder are enough to
work around.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |