Simon Glass
7856369dc2
cmd: malloc: Add a command to show the malloc log
Add a command interface for the malloc-traffic log:
- malloc log start: Start recording allocations
- malloc log stop: Stop recording
- malloc log: Dump the recorded entries
Example output:
=> malloc log
Malloc log: 29 entries (max 524288, total 29)
Seq Type Ptr Size Caller
---- -------- ---------------- -------- ------
0 free 16a016e0 0 free_pipe_list:2001
<-parse_stream_outer:3208 <-parse_file_outer:3300
1 alloc 16a01b90 20 hush_file_init:3277
<-parse_file_outer:3295 <-run_pipe_real:1986
Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
2026-01-03 12:41:32 -07:00
..
2025-12-21 06:01:44 -07:00
2025-12-17 18:35:38 -07:00
2025-12-22 10:41:07 +00:00
2025-12-20 08:28:23 -07:00
2025-12-24 05:16:57 -07:00
2025-12-20 08:27:15 -07:00
2025-12-16 13:15:19 +00:00
2026-01-03 12:41:32 -07:00
2025-12-16 13:15:19 +00:00
2025-12-13 16:28:53 -07:00
2025-12-29 16:18:51 +00:00
2025-12-19 22:36:57 -07:00
2025-12-17 18:35:04 -07:00
2025-12-14 09:52:56 -07:00
2026-01-03 12:39:14 -07:00