portEND_SWITCHING_ISR

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • portEND_SWITCHING_ISR

    Hello support,
    I am using Systemview 240a on project with freertos. When I want to record ISR which is not under OS I just simply use traceISR_Enter and traceISR_Exit at the begining and end of interrupt routine. However ISR under OS I usually terminate with portEND_SWITCHING_ISR(xHigherPriorityTaskWoken) to optimize. This macro already contains traceISR_Exit. If I don't want to monitor such interrupt, problem arises that entry is not marked but exit is. Do you have any suggestion?
    rum
  • Hello,

    I am not sure if it is a good idea to call portEND_SWITCHING_ISR without telling the OS that you entered the ISR, but anyhow you could call trace_ISR_Enter for these ISRs as well.
    Selectively recording ISRs which are handled by teh OS is not possible.

    Best regards
    Johannes
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.