pico_debug icon indicating copy to clipboard operation
pico_debug copied to clipboard

Profiler WIP-ish

Open vvuk opened this issue 1 year ago • 1 comments

I've implemented a SWD-based profiler that seems to work surprisingly well; info at https://github.com/vvuk/pico_debug/blob/profiler/PROFILING.md . Opening this PR to see how much appetite there is to bringing this back upstream. The PR can't come in as-is; I had to hack-disable a few things (some of which seemed to just be tests etc. in the current main branch here?), but is this + additional cleanup something you're interested in taking upstream?

There's such a big perf advantage to pico_debug overall over picoprobe/openocd/etc. that I'd like to get it more solid. (If not, that's totally fine; I have no issues maintaining a fork!)

vvuk avatar Jun 05 '24 04:06 vvuk

Note I currently take over the gdb CDC port -- for the life of me I couldn't get tinyusb to give me 4 CDC channels. The fourth one never showed up (modified tusb_config and everything). Or maybe macOS refused to mount more than 3.

vvuk avatar Jun 05 '24 04:06 vvuk