Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp885786ybl; Wed, 11 Dec 2019 09:02:34 -0800 (PST) X-Google-Smtp-Source: APXvYqzJCBpgH/tsOUyFWB9AyEPk3P84FLI7kCS5arDCCaIf+L34+k3GvD83ylqyyXNSsOvStrHO X-Received: by 2002:a05:6830:145:: with SMTP id j5mr2869754otp.242.1576083754589; Wed, 11 Dec 2019 09:02:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576083754; cv=none; d=google.com; s=arc-20160816; b=r6D9UR8Gvaist+B4y6mFydh/xXA6xYyQo6x6RDx7inIk/s1yDjqrnd4WNI55qkrSqr 1aG1sRqHfWQj5eQpjXBVPRbvmdZ8udCKFutJpSsPf9uCc1UzHqu9RCbbDLbaXYMr2HuN Z3uL7zi0eePq3/h2tBP8ExIow3772p0B659vAxoOKrhRV8Q4mJ1/zzcm9ghdekdCxO9w gy52ohxWBNqO+J1R6mocDshcQ1QuBMvEvjCVm4V9bgTToR1qVfci8FDEiVV0bnFWzJFv 6pZq3WQxPCC+HId8Mp3UjLKT6m95TzohS8HFpn6QubaXzmu6fJI3cYRbteIRCydkRZEm q8aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=Grkq64mAa33b0gaf2Mz97o6+sZae4nnip3PPfqfmHsE=; b=vwhvw5OaMNmGM2cJLeAyu1R8bM5Zah31OFqQ7YqFfroivjlpl2h+tayp5dhZolb1J4 7hI33bU5fpeNvOBKyX5GUYErmM750ejqcywlNxsOPQR//sUXIefapW92k9ENVCStvF4P JU6MFAC7SseCmM2ywVG8lkfFqKJ3z3IgwmmKVds19IiJ3HmhiNEpaXg4Y3lJ+go/FLSa 6GonDsk1AN6cI83e1pMPErc4kkz+xi+yYt7oXrwpBeNIhziFIAKh4UilgzB6wnmZRxX7 6sSupgmlrXiu6lCGAMKmAYib8Q/8zT3adnrgPsHdiGoiVUzvUT5ZEmknPxqK2UW+sdnr w6SA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p26si1467961oto.240.2019.12.11.09.02.05; Wed, 11 Dec 2019 09:02:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730841AbfLKRAy (ORCPT + 99 others); Wed, 11 Dec 2019 12:00:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:42046 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730618AbfLKRAx (ORCPT ); Wed, 11 Dec 2019 12:00:53 -0500 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D886B214AF; Wed, 11 Dec 2019 17:00:52 +0000 (UTC) Date: Wed, 11 Dec 2019 12:00:51 -0500 From: Steven Rostedt To: Tom Zanussi Cc: Sven Schnelle , linux-trace-devel@vger.kernel.org, LKML Subject: Re: ftrace histogram sorting broken on BE architecures Message-ID: <20191211120051.711582ee@gandalf.local.home> In-Reply-To: <1576082238.2833.8.camel@kernel.org> References: <20191211123316.GD12147@stackframe.org> <20191211103557.7bed6928@gandalf.local.home> <20191211110959.2baeb70f@gandalf.local.home> <1576082238.2833.8.camel@kernel.org> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 11 Dec 2019 10:37:18 -0600 Tom Zanussi wrote: > > Tom, > > > > 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. > > The sums are u64, but the keys may not be. I'll take a look and see, Are they? I see in create_key_field: key_size = ALIGN(key_size, sizeof(u64)); Which to me seems that we'll have nothing smaller than sizeof(u64). > but I'm out today and won't be able to look into it until tomorrow, if > that's ok. No rush. I'll start the testing of this patch if you come back and say its fine ;-) That takes a full day. -- Steve