Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1466653ybi; Sat, 27 Jul 2019 10:17:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqytLavZgqlP37g+XavXcYdrkLZMbqcI2GpUcwbelDWV7kqrbkb7ZP56Sng/r+3wuHTTILt1 X-Received: by 2002:a62:1d8f:: with SMTP id d137mr28955540pfd.207.1564247832739; Sat, 27 Jul 2019 10:17:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564247832; cv=none; d=google.com; s=arc-20160816; b=WgkXunE49Ua9VPK0rsMzP7mdPQjaqLR2DhUJLFBDGGnzBWMaGxrTs+uI2gQJfbptWB meAzrfot9j3RR2N/s1EoJXjGNfMixYGty4YFVkhoOGWt3/GCC0e/NBdCOFtDSph7IbCV w6NblK83a7OS8vFLOcDIFyttqsMK28H8ZkBqObdvVtHrF9+AQV+y5Q1XQ/HEEbTraIZy 2fq9m4C7qhJbmFkcG3Ct1wMy8ZEIgJzWdN3/LeNFCLpuu1/Ws7g9nWZymXMQ5TCSQCtF +FZheojTO4rXyq1Vq8hHImr8py2THxp7ZeCt5r6Yft/U18vpnemmjUgCgm8cWauD+W/a EroQ== 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; bh=cZc0/XXPa6breeFTgQ//tURGqvViN41YrZwhnkFdi4c=; b=NdP+vBpU10o2wU6LZUR5/jg3UQumI9RLvyxU3Pi8bfDiJTp35aTgwzvnX2G7jYI6qD 8daqspV5Q/4TMBzr/WpoMzxf6LPbmEOC4P+DopKsRw+m96kqxBvf4o3bduq1vb12JdeE lyI14q80ylLePwEn1nqVdCAodE9BGrVcIOPoaF1+wUtlGNuaG1tJlYNuYo62o8Yxz2Q2 0R45zsk2mFGb4oBx21lH9f7bxfzN65oU9txuXdn76qhFdyyT5W2B2WJsPSfyQacVM87X 9sldO2dcXl3OiNoG6HUlbSZhXAC/q8B50MpIsF4iBFi+qECtCH6n4Rb9iIfQhFNdjVNu 4XmA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 24si9791961pfn.144.2019.07.27.10.16.55; Sat, 27 Jul 2019 10:17:12 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387893AbfG0RP7 (ORCPT + 99 others); Sat, 27 Jul 2019 13:15:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55306 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387823AbfG0RP7 (ORCPT ); Sat, 27 Jul 2019 13:15:59 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1E02E883BA; Sat, 27 Jul 2019 17:15:59 +0000 (UTC) Received: from krava (ovpn-204-40.brq.redhat.com [10.40.204.40]) by smtp.corp.redhat.com (Postfix) with SMTP id 29C03600C0; Sat, 27 Jul 2019 17:15:55 +0000 (UTC) Date: Sat, 27 Jul 2019 19:15:54 +0200 From: Jiri Olsa To: Vince Weaver Cc: linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Alexander Shishkin , Namhyung Kim Subject: Re: [patch] perf.data documentation has wrong units for memory size Message-ID: <20190727171554.GB31276@krava> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.0 (2019-05-25) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Sat, 27 Jul 2019 17:15:59 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 25, 2019 at 11:57:43AM -0400, Vince Weaver wrote: > > The perf.data-file-format documentation incorrectly says the > HEADER_TOTAL_MEM results are in bytes. The results are in kilobytes > (perf reads the value from /proc/meminfo) > > Signed-off-by: Vince Weaver Acked-by: Jiri Olsa thanks, jirka > > diff --git a/tools/perf/Documentation/perf.data-file-format.txt b/tools/perf/Documentation/perf.data-file-format.txt > index 5f54feb19977..d030c87ed9f5 100644 > --- a/tools/perf/Documentation/perf.data-file-format.txt > +++ b/tools/perf/Documentation/perf.data-file-format.txt > @@ -126,7 +126,7 @@ vendor,family,model,stepping. For example: GenuineIntel,6,69,1 > > HEADER_TOTAL_MEM = 10, > > -An uint64_t with the total memory in bytes. > +An uint64_t with the total memory in kilobytes. > > HEADER_CMDLINE = 11, >