Skip to content

Commit 7452689

Browse files
author
Memfault Inc.
committed
memfaultd 1.23.0 (Build 3280185)
1 parent c8803d9 commit 7452689

File tree

67 files changed

+2878
-156
lines changed

Some content is hidden

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

67 files changed

+2878
-156
lines changed

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[build]
2-
rustflags = ["-C", "link-arg=-Wl,--compress-debug-sections=zlib", "-C", "force-unwind-tables=yes"]
2+
rustflags = ["-C", "force-unwind-tables=yes"]

CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,49 @@ 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.23.0] - 2025-08-11
10+
11+
This release adds support for Python based stacktraces, as well as a few minor
12+
changes. Additionally we've made some changes to flash lifetime metrics, and how
13+
they're collected.
14+
15+
### Added
16+
17+
- Add generic custom trace support
18+
- This allows you to send text based backtraces to memfaultd.
19+
- They can be sent via the `memfaultctl save-trace` command
20+
- They can also be sent via `/v1/trace/save` local endpoint
21+
- Added Python stack trace support
22+
- Python stack traces utilize the above custom backtrace support
23+
- By integrating [pyfault](https://pypi.org/project/pyfault/) you can send
24+
backtraces directly from a crashing python process.
25+
- Add new virtual memory metrics from `/proc/vmstat`. These are represented as
26+
the following keys:
27+
- `memory/vm/swaps_in_per_second`
28+
- `memory/vm/swaps_out_per_second`
29+
- `memory/vm/pages_in_per_second`
30+
- `memory/vm/pages_out_per_second`
31+
- Added OUI (Organizationally Unique Identifier) collection for network device
32+
identification and troubleshooting
33+
34+
### Changed
35+
36+
- Changed flash lifetime metrics to use `pct_remaining` format instead of
37+
previous representation, providing clearer visibility into remaining device
38+
lifespan
39+
40+
### Fixed
41+
42+
- Fixed MMC lifetime reading where `memfaultd` would attempt to read lifetime
43+
values from older MMC devices that don't support this feature
44+
- Fixed handling of invalid individual lifetime values - they no longer cause
45+
the entire lifetime collection to fail
46+
- Fixed overly verbose device info logging that was cluttering log output
47+
- Fixed build configuration for macOS by removing
48+
`--compress-debug-sections=zlib` from cargo config that was causing
49+
compilation issues
50+
- Fixed unit test reliability by properly mocking `boottime_ms` values
51+
952
## [1.22.0] - 2025-06-12
1053

1154
This release adds an additional metric for tracking the health of eMMCs as well
@@ -1410,3 +1453,5 @@ package][nginx-pid-report] for a discussion on the topic.
14101453
https://github.com/memfault/memfault-linux-sdk/releases/tag/1.21.1-kirkstone
14111454
[1.22.0]:
14121455
https://github.com/memfault/memfault-linux-sdk/releases/tag/1.22.0-kirkstone
1456+
[1.23.0]:
1457+
https://github.com/memfault/memfault-linux-sdk/releases/tag/1.23.0-kirkstone

Cargo.lock

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

VERSION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
BUILD ID: 3154720
2-
GIT COMMIT: 447ac4b5be
3-
VERSION: 1.22.0
1+
BUILD ID: 3280185
2+
GIT COMMIT: b851a29751
3+
VERSION: 1.23.0

memfault-ssf/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "memfault-ssf"
3-
version = "1.22.0"
3+
version = "1.23.0"
44
edition = "2021"
55
description = "Supporting crate for the Memfault memfaultd embedded Linux agent"
66
homepage = "https://github.com/memfault/memfaultd"
@@ -12,6 +12,6 @@ repository = "https://github.com/memfault/memfaultd"
1212
[dependencies]
1313
futures = "0.3.31"
1414
log = "0.4"
15-
tokio = { version = "1.43.0", features = ["sync", "macros", "rt", "net"] }
15+
tokio = { version = "1.43.1", features = ["sync", "macros", "rt", "net"] }
1616

1717
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

memfault-ssf/VERSION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
BUILD ID: 3154720
2-
GIT COMMIT: 447ac4b5be
3-
VERSION: 1.22.0
1+
BUILD ID: 3280185
2+
GIT COMMIT: b851a29751
3+
VERSION: 1.23.0

memfaultc-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "memfaultc-sys"
3-
version = "1.22.0"
3+
version = "1.23.0"
44
edition = "2021"
55
autobins = false
66
description = "Supporting crate for the Memfault memfaultd embedded Linux agent"

memfaultc-sys/VERSION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
BUILD ID: 3154720
2-
GIT COMMIT: 447ac4b5be
3-
VERSION: 1.22.0
1+
BUILD ID: 3280185
2+
GIT COMMIT: b851a29751
3+
VERSION: 1.23.0

memfaultd/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "memfaultd"
3-
version = "1.22.0"
3+
version = "1.23.0"
44
edition = "2021"
55
autobins = false
66
rust-version = "1.72"
@@ -28,8 +28,8 @@ name= "mfw"
2828
path= "src/bin/mfw.rs"
2929

3030
[dependencies]
31-
memfaultc-sys = { path= "../memfaultc-sys", version = "1.22.0" }
32-
ssf = { package = "memfault-ssf", path= "../memfault-ssf", version = "1.22.0" }
31+
memfaultc-sys = { path= "../memfaultc-sys", version = "1.23.0" }
32+
ssf = { package = "memfault-ssf", path= "../memfault-ssf", version = "1.23.0" }
3333
argh = "0.1.10"
3434
cfg-if = "1.0.0"
3535
chrono = { version = "0.4.23", features = ["serde"]}
@@ -75,7 +75,7 @@ nom = "7.1.3"
7575
sealed_test = "1.1.0"
7676
zip = { version = "1.1.4", default-features = false, features = ["deflate"]}
7777
lazy_static = "1.5.0"
78-
tokio = { version = "1.43.0", features = ["net"] }
78+
tokio = { version = "1.43.1", features = ["net"] }
7979
futures = "0.3.31"
8080
syslog_loose = { version = "0.21.0", optional = true }
8181
rand = "0.8.5"

memfaultd/VERSION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
BUILD ID: 3154720
2-
GIT COMMIT: 447ac4b5be
3-
VERSION: 1.22.0
1+
BUILD ID: 3280185
2+
GIT COMMIT: b851a29751
3+
VERSION: 1.23.0

0 commit comments

Comments
 (0)