tracy icon indicating copy to clipboard operation
tracy copied to clipboard

Feature Request: Add a way to go the the calling parent function in Source view using samples

Open simonvanbernem opened this issue 9 months ago • 4 comments

When analyzing the performance of a function using sampling instead of zones, I often look at that function in the source view and want to investigate child calls. The child call distribution window in the the source view is super helpful for that, and gives easy access to child calls, by right clicking on their source code location. I often go something like 3 levels deep to look for any quick wins, and then want to go one level back up again, to look into the next child call.

Right now, this is a lot more tedious than it has to be, because there is no "back to parent" button. I have to find the parent function in the statistics window again, which takes time and gets a lot harder if you are working with overloads or templates and don't remember anymore which template/overload you were in.

Please add some "go back to parent" button in the source view, that lets you go back to the parent function if you got to the current function via a child call. It would be great if tracy remembered a stack of parent functions, so that I could navigate back up the stack like I would do in a directory structure if I used multiple nested child calls to get to the current function.

simonvanbernem avatar Oct 02 '23 09:10 simonvanbernem