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
..
2026-01-03 12:41:32 -07:00
2025-12-19 22:37:09 -07:00
2025-12-08 05:22:18 -07:00
2025-09-22 11:23:04 -06:00
2026-01-01 14:27:30 -07:00
2025-12-27 13:35:43 -07:00
2025-12-08 05:22:18 -07:00
2025-09-04 07:08:24 -06:00
2025-12-08 05:22:18 -07:00