Received: by 10.213.65.68 with SMTP id h4csp89448imn; Thu, 15 Mar 2018 10:23:48 -0700 (PDT) X-Google-Smtp-Source: AG47ELvv4SnZX7xdIEBaF3OjSzpQS5qgyfia+JCwJy1ZCXJ5MsfcqlrF8sdcGWD4rZc3TkaNg+dM X-Received: by 2002:a17:902:684:: with SMTP id 4-v6mr9105907plh.262.1521134628435; Thu, 15 Mar 2018 10:23:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521134628; cv=none; d=google.com; s=arc-20160816; b=diNsBzB2czJY6ivHySnva2r/k8d/GGfK5xf6Hm4voooZTcfYtk2WlzfPxvZYqnoOUO mqIGINardDPRLkxq9EXCnvumQHS0H1iIM/GjuUTGPZTE08WIklUi/BTkIGb2TFqVGmCe HHFnTAh7Ups+MAmLK+4PlnrPHdPSUSvf9hn7v2H6X9mTI+cfSZX2XSzZP9GbKB5mMMvV 20p+Hl2kGX9LbWinyum36oS7Etgy7HeyycLFPFu5f0M8HEGikqYjeeGBHvvxvvckE6K6 6VaLymm+yEw2eONznqVZ4DYgn5hltdFNAdcOnBQXnGkAGRMy2WuabUOZdl9Ty6Gw/XYQ lEvA== 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=kniBDf4BiDjbJOuK+VIiD+K8OvzRursAyV9zt35MCEI=; b=vRlaSZ0CAhV++1AJUqtWx5LBC9A0N66K17Gcc5n64hMDCi3A5cI1qSBkkyqVCJXJWN HsHhm4ed1628zKXCxmFucPvix82JWfLZHaZL4zUpwdlnmZmMKTp8H2KEeD0EHSde26L2 6VEpUbbVCybr7YbPQSGtYbWJWcy2OAJ6idy9pbNd8ydQvIuCjq6vO+6WAfQKz0vRxSSr vpB7g14tE56rlYq492sDr7p48J+Urt3JYa6Q+OGZgZjj3q42L54AUl+n2xwdxMmbKp1c qzIqlDUTlMNJTSExeL1GsNWSDOeNlsgP+H0hP9Zc1oaK36wvhZD3rO97USPHlBnJtgE0 xL1w== 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 l3si3646233pgp.141.2018.03.15.10.23.03; Thu, 15 Mar 2018 10:23:48 -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 S1752041AbeCORUh (ORCPT + 99 others); Thu, 15 Mar 2018 13:20:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:47198 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751731AbeCORUf (ORCPT ); Thu, 15 Mar 2018 13:20:35 -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 8EB2D204EF; Thu, 15 Mar 2018 17:20:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8EB2D204EF 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:20:25 -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: <20180315132025.5825df8c@vmware.local.home> In-Reply-To: <20180313142732.GA29837@kernel.org> References: <1520937557-24895-1-git-send-email-changbin.du@intel.com> <20180313142732.GA29837@kernel.org> 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 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. -- Steve