summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Perret <qperret@google.com>2021-04-23 12:57:55 +0000
committermdb:android-git <superproject-auto-update@invalid>2021-04-26 13:01:57 +0000
commitb917a6fe17f80bf31ead63b910c71515e65a7fc2 (patch)
tree7e2983903970ca62c75290f87973e770a5e94547
parente21b92d479570be8e4fb4697004b78002e7147a1 (diff)
downloadsuperproject-b917a6fe17f80bf31ead63b910c71515e65a7fc2.tar.gz
extract_symbols: Add tracepoint dependencies to the symbol list
The core tracepoint API (on which relies GKI for vendor hooks) casts the callback pointers to void * when a module tries to attach. This means that changes to vendor hooks are not detected by our ABI monitoring, which is likely to cause problems in the future. To workaround the issue, make sure to always add to the symbol list the __traceiter_*() function of each tracepoint as it has full type definition. The alternative to this would be to create artificial dependencies on the kernel side, but this would require nasty changes to the core tracepoint code. By implementing it in extract_symbols, this solves the issue for 5.10 and later without any kernel change, and should simplify the changes needed in 5.4 and prior. Bug: 185777726 Signed-off-by: Quentin Perret <qperret@google.com> Change-Id: Ib428394bb7eb5ad57318ff07625597e6a8977e70
m---------build0
1 files changed, 0 insertions, 0 deletions
diff --git a/build b/build
-Subproject b2cc8eda3d285a83bf22beb5e77216cb1b7adee
+Subproject d15a0844a0d0947de4d2856270151fc403e4731