call sequence in PTU

call sequence in PTU

Does anyone know how I can get the call sequence of functions. For example if I have

main(){
f1()
f2()
}

and then I modify it to

main(){
f2()
f1()
}

how can I know that f2 was called after/before f1? The closest thing I can find was the to use the hot stack view, but that only gives you for each function (i.e it only tells me that f1() was called by main() or that f2() was called by main(), but not the sequence).

thanks,

Emad

2 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

I think there is no way you can understand this from PTU views. It doesn't provide such information.

But you can alwaysinsert some printf callsat the beginning of your functions and use the generated trace to understand the call sequence.

Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi