Skip to content

Commit 5c24744

Browse files
author
Memfault Inc.
committed
memfaultd 1.25.0 (Build 3429408)
1 parent 1aab2ed commit 5c24744

File tree

81 files changed

+2524
-513
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+2524
-513
lines changed

CHANGELOG.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,61 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to
77
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9+
## [1.25.0] - 2025-11-04
10+
11+
This release adds some new clippy configs, as well as the ability to filter
12+
coredumps by path. Additionally, we've added a configuration that allows you to
13+
specify where individual data types are stored. We've also added a decent chunk
14+
of bug fixes, see the fixed section for more info.
15+
16+
We're also cooking up something interesting using eBPF to track per process disk
17+
writes. It's not quite ready for prime time, so it's added here as an
18+
experimental feature. Keep an eye out for it in a future release!
19+
20+
### Added
21+
22+
- Added some clippy configs to `Cargo.toml` that are now available in Rust
23+
1.80.0.
24+
- Added the ability to filter coredumps by path. This configuration will not
25+
collect coredumps for any program that has crashed in the provided directory,
26+
or passed as a direct file.
27+
- Added a configuration that allows you to specify where individual data types
28+
are stored. If you specify both a `tmp_dir` and `persist_dir`, this config
29+
will allow you to set individual data types (e.g. coredumps/reboots) to be
30+
stored in your persistent directory. This can help you strike a balance
31+
between keeping data between reboots, and limiting the number of writes to
32+
disk.
33+
34+
### Changed
35+
36+
- Updated MSRV of `memfaultd` to 1.80.0
37+
- `veth` and `usb` network interfaces will now be ignored in metrics `auto`
38+
mode. These interfaces are generally ephemeral and can result in a large
39+
number of metrics that are hard to read.
40+
- eMMC lifetime metrics will now default to fetching from `sysfs` for newer
41+
kernel versions. For older kernels where this is not available, we will still
42+
fall back to using ioctl.
43+
- Moved the `memfaultd` PID file to `/run/memfauld` instead of the root `/run`
44+
dir. This follows more closely with suggested configuration of `systemd`, and
45+
allows for configurations that do not want to run as root.
46+
- Internal message passing for the metrics subsystem saw some improvements in
47+
memory usage and allocation.
48+
49+
### Fixed
50+
51+
- Fixed an issue with certain file systems that are not able to rename a file
52+
while a descriptor is open.
53+
- Fixed a bug where the `bytes_written` metric was not properly tracked for
54+
systems with multiple disks. This bug resulted in no `bytes_written` metric
55+
readings being collected due to overflow protection.
56+
- Fixed a rare race condition where a coredump could be uploaded before the
57+
`gzip` encoder finished writing. This would result in a bad header for the
58+
compressed file, and make it impossible to decompress it.
59+
60+
### Experimental
61+
62+
- Added an experimental configuration for some in progress eBPF based work.
63+
964
## [1.24.0] - 2025-08-18
1065

1166
This release adds an example recipe for a `systemd` service that depends on
@@ -1476,3 +1531,5 @@ package][nginx-pid-report] for a discussion on the topic.
14761531
https://github.com/memfault/memfault-linux-sdk/releases/tag/1.23.0-kirkstone
14771532
[1.24.0]:
14781533
https://github.com/memfault/memfault-linux-sdk/releases/tag/1.24.0-kirkstone
1534+
[1.25.0]:
1535+
https://github.com/memfault/memfault-linux-sdk/releases/tag/1.25.0-kirkstone

Cargo.lock

Lines changed: 137 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,7 @@ opt-level = "z"
1414

1515
[profile.dev]
1616
panic="abort"
17+
18+
[workspace.lints.clippy]
19+
unwrap_used = "deny"
20+
redundant_clone = "deny"

0 commit comments

Comments
 (0)