commit | 46cc07f3a25ae69d5278551f1008c1c68e370b8e | [log] [tgz] |
---|---|---|
author | Aaron Vaage <vaage@google.com> | Sat Jun 01 17:14:17 2024 -0700 |
committer | Aaron Vaage <vaage@google.com> | Mon Jun 03 14:42:39 2024 +0000 |
tree | 4d771ac1ddf4000c3949a16c5b007d700a75f1fa | |
parent | 90bf199ff203f790062599532dd66c82d0b00cce [diff] |
Trace Redaction - Use strategy pattern for ftrace events Following changes else where in the code base, this changes the top-level ftrace event primitive to use the strategy pattern to filter and write ftrace events to the new packet. The "write" function will be used to change the ftrace event pid during thread merging. The old remapping primitives had to be removed from the build files because this change conflicted with them (class designs). Because these files/classes were going to be revisited, this cost was accessible. The ReturnErrorForEmptyAllowList test was removed because it is no longer a valid test. The allowlist test is done in one of the filters. Filters cannot return errors. To support that, it would introduce additional overhead for very little value. If the need to verify allowlists is so great, build primitive can be used. Bug: 336807771 Change-Id: I15e4ab548dd985304daec8c1febcf241203980f2
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.