Development tools for Zephyr on STM32Workbench for Zephyr: VS Code extension to set up, build, flash and debug Zephyr applications on STM32.Devicetree manager: browse, edit and visualize Zephyr devicetree, STM32CubeMX-like for Zephyr.
Add the contents of the attached System View Description to the svd for the processor you are using. Enable the CYCCNTENA in the CTRL register. Assuming the cycle count register is implemented in the MCU you are using, you are good to go 😊