History log of /openbmc/google-misc/nemora-postd/subprojects/metrics-ipmi-blobs/util.cpp (Results 1 – 6 of 6)
Revision Date Author Comments
# 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 ...


# 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 ...


# 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 ...


# 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>


# 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 ...