roll: pigweed pw_allocator: Add hooks to test_harness
This CL adds hook functions that cna be overridden before and after each
call to Allocate, Deallocate, and Reallocate. This allows later CLs to
add extra handling to each request, e.g. recording timestamps for
benchmarking.
It also pulls the PRNG into the test harness, as this simplifies its
usage.
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/238416
Original-Revision: 1d143bbc5b00ac5f778977493831d34a19a637d4
Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: c25923e13c339c..1d143bbc5b00ac
Roller-URL: https://ci.chromium.org/b/8735336279402982881
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I62dce6f6302eb3231ac1b41f5dc6ac9d811d1129
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/quickstart/bazel/+/238877
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
diff --git a/MODULE.bazel b/MODULE.bazel
index c2f0e71..0db126c 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -49,8 +49,8 @@
module_name = "pigweed",
# ROLL: Warning: this entry is automatically updated.
# ROLL: Last updated 2024-09-30.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8735336694375437601.
- commit = "c25923e13c339cc678e8900770a512b85064f99a",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8735336279402982881.
+ commit = "1d143bbc5b00ac5f778977493831d34a19a637d4",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
)
@@ -58,8 +58,8 @@
module_name = "pw_toolchain",
# ROLL: Warning: this entry is automatically updated.
# ROLL: Last updated 2024-09-30.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8735336694375437601.
- commit = "c25923e13c339cc678e8900770a512b85064f99a",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8735336279402982881.
+ commit = "1d143bbc5b00ac5f778977493831d34a19a637d4",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
strip_prefix = "pw_toolchain_bazel",
)