tracy icon indicating copy to clipboard operation
tracy copied to clipboard

Feature Request: Statistics (Sampling) - Exclude samples in functions invoked by tracy

Open kaiserschmarrn0 opened this issue 1 year ago • 3 comments

It seems you can filter out functions with tracy in the name/location (-tracy in filter field), but I'd like to remove tracy samples from the total time/counts as well.

The symbol worker, for example, biases certain functions that I'd rather sort only with respect to my own code / kernel code.

I didn't see an intended solution for this case in the tracy pdf, but if there are any mitigations / alternatives please let me know.

kaiserschmarrn0 avatar May 24 '23 21:05 kaiserschmarrn0

Maybe this can be achived by allowing "exclude" for the "Image name" filter? This way we can exclude tracy.so

aolo2 avatar May 25 '23 11:05 aolo2

Even the normal image name filter would be good enough if it adjusted the metrics only include samples with the image name in the call stack (perhaps this is too expensive for a real-time profiler). It would also be nice if the sample entry call stacks window would abide by a similar filter.

Really though, this is a minor inconvenience. I have since found that uprof and vtune suit my needs better, so I don't mind closing this issue.

kaiserschmarrn0 avatar May 27 '23 21:05 kaiserschmarrn0

The issue is valid, I see no point in closing it.

wolfpld avatar May 27 '23 21:05 wolfpld