Received: by 10.213.65.68 with SMTP id h4csp103340imn; Thu, 15 Mar 2018 10:51:22 -0700 (PDT) X-Google-Smtp-Source: AG47ELvfkeHRt1os1M2nZxG/9XwX47YK0IFCWYT/C7mxuuGaW8l+j673WNotjd2YlGy8PE0Yfi8n X-Received: by 2002:a17:902:7185:: with SMTP id b5-v6mr7233566pll.221.1521136282138; Thu, 15 Mar 2018 10:51:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521136282; cv=none; d=google.com; s=arc-20160816; b=IlWKMHLOSnkcadvXLCR/zRgB1dXuI3cmsGYRaRdyU0bH+mSfSTkerjZsjO1TEQHu2E 3kSPwD94DBJRfvPh+sIYELozVBCwkdIOv7GQSX5kKJViA/YFCx6LwyT8c84UNptqVIx1 kN/X9hx4YOxZLEEbo4ECQ7dEoId9EeMfAbn8PZ4sHQcEM9ptg1vTrIb6lJxLq0ZMkdNg Iuzxm/d8P4ICPoiYBqt1dTSrjOzqX4UfYTlMPSrEne9jvPfRbtomheKXC/Sdhar6owuZ kpEE6c3VAzHTC6PL07u8/E+OdjujgDS9IVWOAEMwt19cEAW1ulibibjR+cg0qghOakzp /M4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:arc-authentication-results; bh=Inb1mH8pNFSLmfTutuGUQnerGIPUL+nKsxauk8ymmSE=; b=yZ/Hz8XAybcfXNj3CV/Y6TFVi/whzEahrtQ+mDMl1OlcrUs5hebRsOiOglHG9VriV5 KiPXByAnnFFmJYJHw9fGJL5WgeT49K1fpLuMW8glEBJczXfU6LH9v/fBI274c+CSevEN KKv7EYUjG/v6zOvjEZVVD+aeZvJ7DTf+0OMwUdoKEGP2EwPINNgsPYV+Zg6aUJkLgKm5 WoTfjeGZHaKF95q96iiCIUSpt8vTo0A4XCtxUmQUfOazYfU5vYutYucxPM7NUjsqUrsi 9+MUGMCRwbE+Rkjo/VGkQpwZuTPa0akteeWtOF+V8HpkxmWjB/rFI7BVT9DqLikSsXJl 82IQ== 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 o6si219237pgv.773.2018.03.15.10.51.07; Thu, 15 Mar 2018 10:51:22 -0700 (PDT) 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 S1752602AbeCORt4 (ORCPT + 99 others); Thu, 15 Mar 2018 13:49:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:54948 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752078AbeCORty (ORCPT ); Thu, 15 Mar 2018 13:49:54 -0400 Received: from jouet.infradead.org (unknown [179.97.41.186]) (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 A618B20855; Thu, 15 Mar 2018 17:49:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A618B20855 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=acme@kernel.org Received: by jouet.infradead.org (Postfix, from userid 1000) id 6FE5A145292; Thu, 15 Mar 2018 14:49:50 -0300 (-03) Date: Thu, 15 Mar 2018 14:49:50 -0300 From: Arnaldo Carvalho de Melo To: Steven Rostedt Cc: changbin.du@intel.com, jolsa@redhat.com, peterz@infradead.org, mingo@redhat.com, namhyung@kernel.org, yan.y.zhao@intel.com, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: Re: [PATCH] perf trace: __print_array should print hex format instead of dec Message-ID: <20180315174950.GF3690@kernel.org> References: <1520937557-24895-1-git-send-email-changbin.du@intel.com> <20180313142732.GA29837@kernel.org> <20180315132025.5825df8c@vmware.local.home> <20180315133156.3389b762@vmware.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180315133156.3389b762@vmware.local.home> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Mar 15, 2018 at 01:31:56PM -0400, Steven Rostedt escreveu: > On Thu, 15 Mar 2018 13:20:25 -0400 > Steven Rostedt wrote: > > > On Tue, 13 Mar 2018 11:27:32 -0300 > > Arnaldo Carvalho de Melo wrote: > > > > > Em Tue, Mar 13, 2018 at 06:39:17PM +0800, changbin.du@intel.com escreveu: > > > > From: Changbin Du > > > > > > > > The token '__print_array' is to print the array in hex format, but not > > > > decimal numbers. The implementation of __print_array in kernel side is: > > > > __print_array()->trace_print_array_seq() > > > > > > > > This patch align the perf's behavior with kernel so we have a consistent > > > > event format. > > > > > > Look ok, i.e. makes the userspace formatting do what the equivalent > > > kernel code does, Rostedt, Ack? > > > > > > > Thanks for sending this to me. I'll see how it affects trace-cmd, and > > let you know. > > > > Looks good! > > Acked-by: Steven Rostedt (VMware) thanks, applying