|[hatari-devel] "profile stack" command added|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
I added "stack" subcommand for profiling, and a ":noinit" breakpoint
option needed for using it .
I use it to check where Douglas' Doom file accesses happen.
I also added arg showing for rest of non-MiNT GEMDOS calls when
doing GEMDOS tracing, so now one could use this to track e.g.
memory allocations from TOS:
--- debugger commands ---
# Maxalloc, Malloc, Mfree, Mshrink
b GemdosOpcode = 0x44 :noinit :quiet :file showcallers.ini
b GemdosOpcode = 0x48 :noinit :quiet :file showcallers.ini
b GemdosOpcode = 0x49 :noinit :quiet :file showcallers.ini
b GemdosOpcode = 0x4A :noinit :quiet :file showcallers.ini
--- showcallers.ini ---
b pc = "NextPC" :noinit :quiet :file showretval.ini
--- showretval.ini ---
 By default breakpoints re-initialize debugger state,
which would reset profiling callstack.