Add error-prone plugin to verify string literals for trace events
The java trace event strings cannot be checked for string literals at runtime. So, add a compile time check to verify that all uses are passing in string constants. A few exceptions are marked with suppress warnings. Total overhead of running the plugin is about 100ms with 20ms measurement overhead. BUG=984827 Change-Id: Ia10fe6f9f255c7402936a287bdde8b86684dbd71 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1705518Reviewed-by:oysteine <oysteine@chromium.org> Reviewed-by:
Tommy Nyquist <nyquist@chromium.org> Commit-Queue: ssid <ssid@chromium.org> Cr-Commit-Position: refs/heads/master@{#678527}
Showing
Please register or sign in to comment