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-08 05:22:18 -07:00
2026-01-03 12:41:32 -07:00
2026-01-03 12:41:30 -07:00
2026-01-03 12:39:14 -07:00
2026-01-01 17:13:59 -07:00
2025-12-27 11:09:13 -07:00
2025-12-24 05:17:05 -07:00
2026-01-01 17:13:59 -07:00
2025-09-22 11:23:04 -06:00
2025-09-08 13:10:54 -06:00
2025-12-29 16:18:51 +00:00
2025-12-07 17:18:57 -07:00
2025-12-14 09:52:56 -07:00
2025-09-09 09:14:05 -06:00
2025-12-29 16:18:51 +00:00
2025-12-14 09:17:14 -07:00