| Re: [hatari-devel] Profiler / disassembly tests for Hatari |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: Eero Tamminen <oak@xxxxxxxxxxxxxx>
- Subject: Re: [hatari-devel] Profiler / disassembly tests for Hatari
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sat, 01 Nov 2025 08:58:59 +0000
- Cc: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.de; s=2017; t=1761987539; bh=awRmflMMI/xDeGcnBY7Ndu0Fm0C037jWECV9eYG+9bQ=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=h+Zhyv53BCyMg7FMSszMf/cs9PqYyExSYDggX6pyCTe5sTcmp+R3k0fzKSBHwZm8b zOyaGlwuu95ZNRe12JKaAgEzEMGY4evV2IQQkG9a6y2V4gywiBgX98fizScaMVbtcm LtrZ9mHzL81tUK2K1u5/dwsJDtQK/FUEf0jDhN88I9/+9Eq22TQhwMfJcXrTcvj5To AVBcUzV8t5PnA/nQuRiT+OakEE2File1VpyBbtH/7HHHlXhbmRJVkOkegHkMzUV+Fh 4AxfilEh1P6c0NUsmoD/f7Au1+nD+rXzGYVSZUh1fPlNVuTj1LNohk7TUHlppU+VRW MnJDc2gsV9G3w==
Am Sat, 1 Nov 2025 02:17:25 +0200
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> Hi Nicolas/Thomas,
>
> WinUAE CPU core disassembly wrapper did not work at all (it ignored the
> provided FILE*) which I've now fixed:
> https://www.atari-forum.com/viewtopic.php?p=487749#p487749
>
> This isn't the first time disassembly output causes problems for
> profiling, so I though to add tests for it.
>
> Those tests work locally now, and they also validate that symbol
> handling & breakpoint chaining (used for profiling) do work. They work
> by comparing disassembly output with profiling information, against
> output saved to Git.
>
> (Tests run "cyccheck.prg" from the "cycles" test, as that was
> unstripped, unlike most other test binaries.)
>
> However, I'm wondering whether disassembly outputs [1] (e.g. cycle
> counts in them) would change often enough to be nuisance...
>
> I.e. how often you'd think there will be changes to:
> * This test program
> * Handling of interrupts used by FakeTOS
> * WinUAE CPU core disassembly output format
> * 68000 & 030+MMU cycle counts
> ?
I'd maybe skip the test for anything that is not using a plain 68000 in
that case, since we know that there is no cycle-accurate 68030 emulation
yet, so I'd expect that this will change a lot during the course of time.
Thomas