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-09-25 09:47:09 -06:00
2025-02-16 14:11:28 +00:00
2025-12-01 15:42:04 +00:00
2025-12-24 05:17:04 -07:00
2025-10-23 10:00:06 +01:00
2025-09-04 07:08:25 -06:00
2025-05-29 16:07:51 +01:00
2025-02-16 14:11:28 +00:00
2025-08-28 06:55:49 -06:00
2025-12-10 05:53:00 -07:00
2024-11-18 19:10:56 -06:00
2025-02-16 14:11:28 +00:00
2025-12-10 05:53:03 -07:00
2026-01-03 12:41:32 -07:00
2025-02-16 14:11:28 +00:00
2025-02-08 13:50:15 +00:00
2025-02-08 13:50:15 +00:00
2025-08-19 17:36:44 -06:00
2025-07-09 23:25:25 +02:00
2025-09-25 09:47:09 -06:00
2025-02-16 14:11:28 +00:00
2025-07-09 23:33:25 +02:00
2025-10-24 08:47:38 +01:00
2025-02-16 14:11:28 +00:00
2025-05-16 14:45:25 +02:00
2025-09-04 07:08:24 -06:00
2025-11-14 12:00:31 -07:00
2025-12-16 11:12:15 -07:00