Re: ftrace histogram sorting broken on BE architecures
From: Sven Schnelle
Date: Wed Dec 11 2019 - 13:54:38 EST
Hi Steven,
On Wed, Dec 11, 2019 at 11:09:59AM -0500, Steven Rostedt wrote:
> On Wed, 11 Dec 2019 10:35:57 -0500
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> > > Any thoughts on how to fix this? I'm not sure whether i fully understand the
> > > ftrace maps... ;-)
> >
> > Your analysis makes sense. I'll take a deeper look at it.
>
> Does this patch fix it for you?
Yes, it does. Thanks for looking into this.
> Correct me if I'm wrong, from what I can tell, all sums and keys are
> u64 unless they are a string. Thus, I believe this patch should not
> have any issues.
I'll retest if Tom comes up with another patch.
Thanks,
Sven