commit | 9ea4f88a8b21a909b41462b2420bbbe8bfa97187 | [log] [tgz] |
---|---|---|
author | Aaron Green <aarongreen@google.com> | Thu Dec 14 21:54:14 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 14 21:54:14 2023 +0000 |
tree | 936845a54d1c38763b41a13529b55b0220e11469 | |
parent | 752d18a519176d462bc61428bb4d2e1b617b3d6f [diff] |
pw_allocator: Fix metric disabling This CL corrects the previously inverted condition on `pw_allocator_COLLECT_METRICS`. It also makes the `MetricsStub` not derive from `metric::Group`, so as to avoid pulling in metric code unnecessarily. Finally, the fixes above revealed pw_multibuf's test utilities were not using `AllocatorMetricProxyForTest` when it intended to. Change-Id: I07628b28c999f77d885aae2d9e168f2ed62a4956 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/185026 Commit-Queue: Aaron Green <aarongreen@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Taylor Cramer <cramertj@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.