commit | 4fc13ca1285a8a671ff205634ed064430c0a94c2 | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Thu Jul 20 02:04:48 2023 +0100 |
committer | Lalit Maganti <lalitm@google.com> | Thu Jul 20 02:04:48 2023 +0100 |
tree | c33a723ae7e03d2a9991b804a22bde8db4a66f65 | |
parent | cb7162fc1cf0be5a33c7830b7ad50f58ef15d5f4 [diff] |
tp: support source replacement in SqlSource This CL introduces support for rewriting SQL in SqlSource. This is a requirement for adding support for macros where we will rewrite SQL statements when expanding the macros but we still want to preserve the context from the statement that the user wrote. By modelling this as "recursive rewrites", we can keep track of nested macro expansions and, when an error happens, print an error message which takes into account the expansions. Bug: 290185551 Change-Id: I28da15ffc47f99a6e32ca609d3bcf549968553ca
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.