Received: by 10.213.65.68 with SMTP id h4csp95737imn; Thu, 15 Mar 2018 10:35:57 -0700 (PDT) X-Google-Smtp-Source: AG47ELvvq8+oK0iUzJu52y3zEOABBUjFKK3XK4FBWABu7NbCQDapP6SZjQAGuSB1Au9MwUCH+PJd X-Received: by 10.99.97.149 with SMTP id v143mr7321365pgb.319.1521135357282; Thu, 15 Mar 2018 10:35:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521135357; cv=none; d=google.com; s=arc-20160816; b=uUxGJYb3sJn6hWtA7kttChHCMEZoEsX2V1ukRQhmtESlApV5mbEeDfZMu0Hd6YkcT6 +bN9p4xQEFbSxiv+YnYi5GN8hinqSpKdDcaeiEZsxCGlj6jvxNINK7kXSjN7MDPwek0w taLH++8vCFXykm/bCjU1+uSPlLSbhk0gL5PmC9l3/2ZtkuzSScCyNqq68PLHuzBcoUCx ibkfIQQi3fajvK4VnuiuFx1dgSCyFk4cplKFrBs/EXJsu6cDMC7xh4porQvXMBfdfoie GpqV7Mx7bPsAfvmcij2naN05oXPC3xBOatWk9pK37zrY/0gNQDeU6PRyZhUAN5mRv84z FycA== 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 :dmarc-filter:arc-authentication-results; bh=SxWyGULrsxJqFmAHU9A08QY2dk/xvtkJaORG4G7m9Is=; b=dLn5vwc4qYf0z6vLGS1n5Mh1v6iffqQJyiBZikd20L40p/eD3CL8s5+R3u8IfOEhk9 saJjNE/8hSNvms/X1WWJ/s6MGW+XuEc1xVpW8Dam8PKo6aAqLKdv8EqyX/50cAjEiTDH FdTaQwaB98Haexy6mqwxT+dxih4tkxrEr8YR67+VMGl/YeJKNJBrTDr958aleMKWwMdQ soo6tzmWetNEm6cC5DVzVge6VEvu5bE58NxQqmdYZU+eUXQnaidutCNXSWMXNru0fkP8 ViewSB9NaierO+UjQeAUAUDRza0h+7r0jXO8wh4s8SLZ9T55/vtb02ypK1HpVZDcQ0mH RRaA== 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 n5si2302487pgs.106.2018.03.15.10.35.42; Thu, 15 Mar 2018 10:35:57 -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 S932101AbeCORet (ORCPT + 99 others); Thu, 15 Mar 2018 13:34:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:50154 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752284AbeCORcB (ORCPT ); Thu, 15 Mar 2018 13:32:01 -0400 Received: from vmware.local.home (ip-64-134-136-2.public.wayport.net [64.134.136.2]) (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 9937720779; Thu, 15 Mar 2018 17:31:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9937720779 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=rostedt@goodmis.org Date: Thu, 15 Mar 2018 13:31:56 -0400 From: Steven Rostedt To: Arnaldo Carvalho de Melo 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: <20180315133156.3389b762@vmware.local.home> In-Reply-To: <20180315132025.5825df8c@vmware.local.home> References: <1520937557-24895-1-git-send-email-changbin.du@intel.com> <20180313142732.GA29837@kernel.org> <20180315132025.5825df8c@vmware.local.home> X-Mailer: Claws Mail 3.15.1 (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 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) -- Steve