summaryrefslogtreecommitdiff
path: root/interceptor/log.proto
AgeCommit message (Collapse)Author
2021-11-24Delete interceptor from prebuilt kernel build toolsMatthias Maennich
This gets relocated to kernel/tools/interceptor. To avoid duplicate definitions, delete it first before pushing to the new location. Though, this repository content has been staged already at: https://android.googlesource.com/kernel/tools/interceptor/+/refs/heads/new_master Bug: 206149924 Signed-off-by: Matthias Maennich <maennich@google.com> Change-Id: Ifaf7076e27da8c2a674fbb3724482da3dc8422ad
2021-11-24interceptor: use consistent non-abbreviated namingMatthias Maennich
This aligns the proto naming as well as the internal naming for constants and variables. Bug: 207620215 Signed-off-by: Matthias Maennich <maennich@google.com> Change-Id: I31dbf812d48abafe3343cac8cccd5ea4727b8fb9
2021-11-24interceptor: replace custom Command class by proto classMatthias Maennich
Though this removes the lazy evaluation of args and env to a be always done now, this hardly every was truly omitted. Hence, this is not a regression. Instead the code could be tidied up to have only one data format that also serializes. No functional change intended. Bug: 205577427 Signed-off-by: Matthias Maennich <maennich@google.com> Change-Id: Ia3790d36c5477eb39dd6980d35b638803726d49d
2021-11-23interceptor: Support for emitting compile_commands.jsonMatthias Maennich
The analysis command learned how to emit compile_command.json databases based on the recorded command log. A sample execution is: $ interceptor_analysis -l /tmp/log -o compile_command.json -t compdb Bug: 205731786 Bug: 201801372 Signed-off-by: Matthias Maennich <maennich@google.com> Change-Id: I00d08d309f51b9263900cab517baa824c3be45c2
2021-11-22interceptor: record root dir in logMatthias Maennich
That is required to reconstruct the full working dir again later. The root dir is either deducted from the environment ($ROOT_DIR) or is cwd() of the interceptor process otherwise. Bug: 205731786 Signed-off-by: Matthias Maennich <maennich@google.com> Change-Id: I12d826d7459a83864ecd024d85c801f1011aee87
2021-11-20interceptor: add initial proto log formatMatthias Maennich
This serves as a stable binary format for communication of state. Bug: 205577427 Signed-off-by: Matthias Maennich <maennich@google.com> Change-Id: I383723e5665a47769d7fbfc4187b7864476b59a1