Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fast JTAG profile sampler for ESP32/ESP32-S2 (OCD-1100) #357

Open
bryghtlabs-richard opened this issue Jan 31, 2025 · 1 comment
Open

Fast JTAG profile sampler for ESP32/ESP32-S2 (OCD-1100) #357

bryghtlabs-richard opened this issue Jan 31, 2025 · 1 comment

Comments

@bryghtlabs-richard
Copy link

bryghtlabs-richard commented Jan 31, 2025

I implemented a non-intrusive program-counter sampler for ESP32-S3 in this patch, and it was a bit over 1000x faster than the current approach. In this thread, ESP-Sprite mentioned that this approach should work for the other xtensa chips, but I don't expect to get around to it for a while.

Please consider this a low priority request if anyone is interested to switch ESP32 and ESP32-S2 to the new sampler. For esp32_target and esp32s2_target, each just needs .profiling = esp_xtensa_profiling, assigned to switch over to the esp-xtensa non-intrusive sampler already in use by ESP32-S3, then a profile collected and analyzed.

@github-actions github-actions bot changed the title Fast JTAG profile sampler for ESP32/ESP32-S2 Fast JTAG profile sampler for ESP32/ESP32-S2 (OCD-1100) Jan 31, 2025
@erhankur
Copy link
Collaborator

erhankur commented Feb 3, 2025

@bryghtlabs-richard, thank you for your contributions. We’ll certainly consider adding the new sampler to the ESP32 and ESP32-S2 targets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants