Can Segger SystemView be used to measure Freertos (version10.3.1)?

I want to use SystemView to measure Freertos.But when I configure all things reference to SystemView user guide , program crashed in a function named void vPortValidateInterruptPriority( void ) :sob:
I used STM32CubeMX create the project. I find the Freertos Version cant be modified on CubeMX. The chip model is STM32G431RBT6. How can i do to make SystemView Freertos version 10.3.1

Did you add some any application code too or are you just running the code generated by CubeMX? An assert failure in vPortValidateInterruptPriority means that your application is calling a FreeRTOS FromISR API from an ISR running at a higher priority than configMAX_SYSCALL_INTERRUPT_PRIORITY. Do you have any ISR in your application? Can you share FreeRTOSConfig.h?