Commit graph

5 commits

Author SHA1 Message Date
Elliott Hughes
ab772110c7 Insulate against log spam.
We may as well check the entire log. The previous bump seems to have made this test less flaky, so why not go all the way?

Change-Id: I26b7524731ec755b724b9363fc9151f6a6d9116d
2024-07-01 13:21:36 +00:00
Steven Moreland
47fde793b1 libutils: CallStackTest log_stack check more log
Check last 10,000 instead of last 1,000 log entries.

Fixes: 348793356
Test: presubmit

Change-Id: I08c660ddd7e49466a4b55d96e46a402ee8912a24
2024-06-26 17:52:47 +00:00
Christopher Ferris
bcaeacc686 Enable weak functions properly.
There is a check for WEAKS_AVAILABLE that is never set. Change this so
so it is available everywhere except apple/windows.

Add new test to verify that on Android the logStackInternal function is
defined.

Bug: 331489939

Test: All unit tests pass.
Change-Id: Ie982eba30ae421931a62718d39ff1f0c282453db
2024-03-27 17:49:51 -07:00
Elliott Hughes
b795d6fa4b Fix the build with a newer LLVM.
Unify all our "noinline" variants to the current most common one, not
least because the new [[noinline]] syntax is fussier about where it goes.

Test: treehugger
Change-Id: Icfcb75c9d687f0f05c19f66ee778fd8962519436
2022-09-14 20:16:25 +00:00
Christopher Ferris
15fee82247 Fix thread unwind in CallStack.
The CallStack unwind of a different thread was broken since it
wasn't properly setting the tid value.

Fix this problem and add new unit tests to verify the behavior.

Bug: 246405269

Test: New unit tests pass.
Test: Ran unit tests for 1000 operations to verify not flaky.
Change-Id: I00342e6cdcdb4bcb68f29734dadee6c987c98040
2022-09-12 18:37:22 -07:00