You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's an example of an area selection I made just now
So this was a trace with many different types of callstacks involved. In #4638, @cphlipot1 changed things so that, by default, the callstacks use the perf counter to weight the flamegraph. However, in mixed counter area selections like this, this can be quite misleading as you're only really seeing the callstacks visualized for one of the tracks you selected not all of them.
Some ideas:
We should make the flamegraph universally show sample count by default. This is a slight revert of ui: weight flamegraphs by perf event count #4638 but is intuitive and clear for most people's usecases but will be annoying when you do care about the counter
We should do nothing - IMO not preferred due to the surprise factor.
We could make it so that if there's a single counter, we use the counter by default and if multiple we use sample count by default.
Personally, I'm leaning towards 3 but open to suggestions.
Here's an example of an area selection I made just now
So this was a trace with many different types of callstacks involved. In #4638, @cphlipot1 changed things so that, by default, the callstacks use the perf counter to weight the flamegraph. However, in mixed counter area selections like this, this can be quite misleading as you're only really seeing the callstacks visualized for one of the tracks you selected not all of them.
Some ideas:
Personally, I'm leaning towards 3 but open to suggestions.
@cphlipot1 @rsavitski for thoughts