| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
False start, sorry - I just realized this is missing something - back to WIP!
| 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. |
Nice! Could you add some tests in components/tracing/common/etw_consumer_win_unittest.cc? Mainly:
create_event->set_open_path(base::WideToUTF8(*CopyWString(iterator)));Let's skip this if privacy filters are on, see:
https://source.chromium.org/chromium/chromium/src/+/main:services/tracing/public/cpp/perfetto/metadata_data_source.cc;l=98?q=MetadataDataSource&ss=chromium
The field is filtered anyways later on based on allowlist, but this avoids needlessly filling the trace buffer.
Here and below for string fields.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Nice! Could you add some tests in components/tracing/common/etw_consumer_win_unittest.cc? Mainly:
- basic routing and decoding
- too short packet
- filtered packet
Done
create_event->set_open_path(base::WideToUTF8(*CopyWString(iterator)));Let's skip this if privacy filters are on, see:
https://source.chromium.org/chromium/chromium/src/+/main:services/tracing/public/cpp/perfetto/metadata_data_source.cc;l=98?q=MetadataDataSource&ss=chromiumThe field is filtered anyways later on based on allowlist, but this avoids needlessly filling the trace buffer.
Here and below for string fields.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
if (inclusion_policy_.ShouldIncludeThreadId(header.ThreadId)) {I don't think these are needed; since the whole function is already guarded by the stricter ShouldRecordFileIoEvents()?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thank you for reviewing!
I added `privacy_filtered_fields-inl.h` which removed the CR+1 - would you mind taking another look? Thanks!
if (inclusion_policy_.ShouldIncludeThreadId(header.ThreadId)) {I don't think these are needed; since the whole function is already guarded by the stricter ShouldRecordFileIoEvents()?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thank you for reviewing!
I added `privacy_filtered_fields-inl.h` which removed the CR+1 - would you mind taking another look? Thanks!
Never mind, a separate change was uploaded today that updates this file: crrev.com/c/7124325. I'll just wait for that CL to land, then land this.
Would you mind stamping this CL again? The CR+1 got removed in the last two patchsets. Thanks!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
LGTM
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
+mattm@ for the new DEP on `//crypto` - PTAL, thanks!
| 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: add file I/O ETW provider
This change enables Chrome tracing to capture and decode file I/O ETW
events, to be passed to Perfetto. These are Windows native events that
describe file I/O operations like file creation, read, write, etc.
The corresponding Perfetto protos can be seen here:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/perfetto/protos/perfetto/trace/etw/etw.proto;l=211;drc=a01a11ae2a7c0476c9ddfb0e0f77891b86110663
This is part of a broader effort to add ETW kernel events to Chrome
traces for Perfetto (Google-internal design doc:
go/windows-system-tracing). A subsequent change to Perfetto will add
visualization for these events.
Note: this CL will be submitted after cl/814443722 (Google-internal).
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |