119e7928 | 18-Oct-2024 |
Abby <buchmana@google.com> |
metric-ipmi-blobs: adding tmpfs
Adding tmpfs metric coverage to pre-ttf machines
Tested: ``` df -h Filesystem Size Used Available Use% Mounted on dev 468.9M
metric-ipmi-blobs: adding tmpfs
Adding tmpfs metric coverage to pre-ttf machines
Tested: ``` df -h Filesystem Size Used Available Use% Mounted on dev 468.9M 0 468.9M 0% /dev tmpfs 469.9M 12.6M 457.3M 3% /run /dev/mtdblock4 20.6M 20.6M 0 100% /run/initramfs/ro /dev/mtdblock6 3.0M 436.0K 2.6M 14% /run/initramfs/rw cow 3.0M 436.0K 2.6M 14% / tmpfs 469.9M 8.0K 469.9M 0% /dev/shm tmpfs 469.9M 0 469.9M 0% /tmp tmpfs 469.9M 40.0K 469.8M 0% /var/volatile tmpfs 469.9M 12.6M 457.3M 3% /var/lib/systemd/coredump ```
Change-Id: I50c763707268252ed51a903d8b7e02543dab6166 Signed-off-by: Abby <buchmana@google.com>
show more ...
|
c66ebc35 | 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: I362352dcb341658501899267c2ff3ad044ed5912 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
4dba220d | 08-Apr-2024 |
Willy Tu <wltu@google.com> |
metrics-ipmi-blobs: Support ECC Error Counts
Export the ECC Error Cournter from http://github.com/openbmc/phosphor-ecc to ipmi blob.
Tested: The blob output is updated if MemoryECC dbus object exis
metrics-ipmi-blobs: Support ECC Error Counts
Export the ECC Error Cournter from http://github.com/openbmc/phosphor-ecc to ipmi blob.
Tested: The blob output is updated if MemoryECC dbus object exists compared to the blob output if MemoryECC doesn't exists.
Change-Id: I2c63dbcd0970afc587f5c2ee01f8c261909f0b08 Signed-off-by: Willy Tu <wltu@google.com>
show more ...
|
7f49370d | 08-Feb-2024 |
William A. Kennington III <wak@google.com> |
metrics-ipmi-blobs: Convert to nanopb
Tested: Decoded a metric proto from a host and verified that the fields all looked as expected and "normal" with decode successfully identifying everything.
Ch
metrics-ipmi-blobs: Convert to nanopb
Tested: Decoded a metric proto from a host and verified that the fields all looked as expected and "normal" with decode successfully identifying everything.
Change-Id: Iaa1b5500db6d1b93fae95d44a1045a858624cc51 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
47a0ada2 | 29-Nov-2023 |
Patrick Williams <patrick@stwcx.xyz> |
build: use allowed over enabled
Meson feature options are typically in a tri-state of enabled, disabled, or auto. The enabled and disabled functions on an option (from `get_option`) no longer retur
build: use allowed over enabled
Meson feature options are typically in a tri-state of enabled, disabled, or auto. The enabled and disabled functions on an option (from `get_option`) no longer return true for auto features. Instead, the expectation is to use `allowed()` which is true for both enabled and auto.
Switch all uses of `enabled` to `allowed`.
Change-Id: I91fe34f9d6743a3afeef73c3e55847542cea143c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
1dfe24ea | 12-Jul-2023 |
Patrick Williams <patrick@stwcx.xyz> |
build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of the standard has been implemented. Upgrade the build to leverage it.
Change-Id: Ibb8913a93032d388399b6
build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of the standard has been implemented. Upgrade the build to leverage it.
Change-Id: Ibb8913a93032d388399b65904013e284780dad70 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
580abaff | 06-Jul-2023 |
Willy Tu <wltu@google.com> |
build: Fix build warnings
``` ../subprojects/metrics-ipmi-blobs/util.hpp:32:5: error: 'uint64_t' does not name a type 32 | uint64_t firmwareTime = 0; | ^~~~~~~~ ../subprojects/metri
build: Fix build warnings
``` ../subprojects/metrics-ipmi-blobs/util.hpp:32:5: error: 'uint64_t' does not name a type 32 | uint64_t firmwareTime = 0; | ^~~~~~~~ ../subprojects/metrics-ipmi-blobs/util.hpp:18:1: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? 17 | #include <string> +++ |+#include <cstdint> 18 | #include <string_view> ... ../subprojects/nemora-postd/src/serializer.cpp:66:28: error: call of overloaded 'format(const char [15], std::string)' is ambiguous 66 | log<level::INFO>(format("NemoraEvent {}", pb.DebugString()).c_str()); ```
Change-Id: Id7da1567cdf8cd74d94bd71fa338099b1f0b861e Signed-off-by: Willy Tu <wltu@google.com>
show more ...
|
2be45238 | 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: Ia240047e2472bccb2bb039ff71bea20a7a602ec4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
25c55c54 | 08-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
Change-Id: Ib442712e2562fac166148ce795f0a83511ad84cd Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
24695690 | 04-Aug-2022 |
Patrick Williams <patrick@stwcx.xyz> |
MAINTAINERS: remove file
The MAINTAINERS file is deprecated in favor of OWNERS.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I524eafe25c461b0dd987e7c31f142264866c6fa3 |
3d7cd157 | 25-Apr-2022 |
Michael Shen <gpgpgp@google.com> |
metrics-ipmi-blobs: Fix memory leak with readMem
Add `munmap` after `mmap` succeeded. Otherwise it might cause memory after 65500+ times.
Tested: (Provided by @suichen) ``` Without munmap:
/tmp# .
metrics-ipmi-blobs: Fix memory leak with readMem
Add `munmap` after `mmap` succeeded. Otherwise it might cause memory after 65500+ times.
Tested: (Provided by @suichen) ``` Without munmap:
/tmp# ./mmap_test ... 65100 mmaps 65200 mmaps 65300 mmaps 65400 mmaps 65500 mmaps ERR: 12 ERROR with 65503 mmaps ERR: 12
----------------------------------------------------------------- With unmap:
/tmp# WITH_UNMAP=1 ./mmap_test ... 161700 mmaps 161800 mmaps 161900 mmaps 162000 mmaps 162100 mmaps 162200 mmaps ... ```
Signed-off-by: Michael Shen <gpgpgp@google.com> Change-Id: Ie68d4f42337ca3459ae60dc1f649ed1b25631b17
show more ...
|
382d628d | 21-Oct-2021 |
Willy Tu <wltu@google.com> |
build: Update to c++20, c18, and meson >= 0.57.0
Change-Id: I6b4862f1aa2f8778d63b2b905762437071afd9c6 Signed-off-by: Willy Tu <wltu@google.com> |
548f3ad1 | 17-Jun-2021 |
William A. Kennington III <wak@google.com> |
metrics-ipmi-blobs: build: Install module in blob-ipmid
We no longer need any of the symlinking steps in the meta build if we install this way.
Change-Id: I054e3a28f996f75d21b98bf631b9baeae27fbec7
metrics-ipmi-blobs: build: Install module in blob-ipmid
We no longer need any of the symlinking steps in the meta build if we install this way.
Change-Id: I054e3a28f996f75d21b98bf631b9baeae27fbec7 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
b63d6314 | 26-Apr-2021 |
Michael Shen <gpgpgp@google.com> |
metrics-ipmi-blobs: Add bootup time to metrics
Change-Id: I1da66deca4a0cc2d75abe7c40c258c34593ea6a0 Signed-off-by: Michael Shen <gpgpgp@google.com> |
af11706b | 02-Jun-2021 |
Ofer <ofery@google.com> |
preserved ofery@ +2 for google misc repos Add suichen@ and ofery@ as maintainers for metrics-ipmi-blobs
Change-Id: I69be0bfb1840a326ecfee90c977f4b5d716e91bf Signed-off-by: Ofer <ofery@google.com> |
b056df69 | 23-Mar-2021 |
William A. Kennington III <wak@google.com> |
metrics-ipmi-blobs: Fix generated source dependency
Change-Id: I62e4a8ef65fd01ea12a7dcd7e5b6052fdeeee399 Signed-off-by: William A. Kennington III <wak@google.com> |
1285115c | 17-Mar-2021 |
William A. Kennington III <wak@google.com> |
meson: Fix build with 0.57.1
Meson doesn't like that we are symlinking subprojects outside the subproject directory. If we invert the links we are able to build again.
We also need to fix any proje
meson: Fix build with 0.57.1
Meson doesn't like that we are symlinking subprojects outside the subproject directory. If we invert the links we are able to build again.
We also need to fix any projects passing arguments which they don't actually accept.
Change-Id: Ie7adf82afabc1becc85c36b3cc632e8ebd4cae5b Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
03eba281 | 11-Feb-2021 |
Sui Chen <suichen@google.com> |
metrics-ipmi-blobs: Add from gBMC
Tested: ran CI locally.
1/5 ncsid / iface_test OK 0.01s 2/5 ncsid / sock_test OK 0.02s 3/5 ncsid / normalize_ip_
metrics-ipmi-blobs: Add from gBMC
Tested: ran CI locally.
1/5 ncsid / iface_test OK 0.01s 2/5 ncsid / sock_test OK 0.02s 3/5 ncsid / normalize_ip_test OK 0.02s 4/5 ncsid / normalize_mac_test OK 0.03s 5/5 metrics-ipmi-blobs / gtest test OK 0.01s
Signed-off-by: Sui Chen <suichen@google.com> Change-Id: Icaf266b170f96b062774c3ef90e59ddec9ea15c6
show more ...
|