Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11162768ybi; Thu, 25 Jul 2019 11:04:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqzYfrpXE99yd5SVq60ItmlEnRNZz6hQbKDsjcPwYS/k5Ljh87RFKT6A+yYKm/YtjbcFcjuq X-Received: by 2002:a17:902:2bcb:: with SMTP id l69mr92921036plb.155.1564077892174; Thu, 25 Jul 2019 11:04:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564077892; cv=none; d=google.com; s=arc-20160816; b=H83PGa3Eqh1Zebg7HLGuFPSnBr3zmfOxyXsRTQz/sMTVeKocKk7TBC9dgz+yGNuX4K 9x11hYrVP4hQioLtDrtQmcuwMgDSE5BqHmB8hLt087QknfCWvCLtZupePdH7eZ56ixuo aQYV4F3CqfJ0tlyRyKiM31VKabBCMBmTzTVkwEfregLVlakwWy9tlpXDMQHYNDxoxhpf 35PhN7pFZJE7dNwvO1Xr5husFPhkJCJhVB/Igx+UzB02ovAYjJgpPnZ69qTkJqaXh7v/ UYWZrvdmIHBwqAx/RFfpyotGuWQxRnglboaWZg0GUtr5nf5vVdDkcLLevvWAEhJqekkf wLlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :subject:cc:to:date:from:dkim-signature; bh=SPla4j9UdRCMl3oT+x1yXD7PU4HvdshXTJucOKF1pKw=; b=n/FNuZc6Bgw0jclkKNzm6Agh6JlDRCjiOWKFA5kMydCk9e6SFhGyzEs+gsp0VEIRFJ UPnwXxGWmDXC6RT12e7AUdf29VAM3tn+5o43dswUG5BU2LfBZnZ1yGOzEwM/nB5uyoiA ana60BNgYHcgfMf2ERptxevX1waHXhc3SmAZOpbmo2gdkELMF5Q9zKB5Ug8codreeHp+ 3S63F42ILGnVO/++NWPpvbkk5mNE/NIof0QxPjbqWEW5LYwMimy51pm/RwL1m4gYapIK VWovvkzpC/QijK8FhHfuMj5oL2msq4EXQOa09na+vF4G2KW9ztaS62U+lFXlsOAavQPl R0Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maine.edu header.s=google header.b=WO6CO2eE; 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 f10si20552242pfq.194.2019.07.25.11.04.36; Thu, 25 Jul 2019 11:04:52 -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; dkim=pass header.i=@maine.edu header.s=google header.b=WO6CO2eE; 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 S2387955AbfGYP5u (ORCPT + 99 others); Thu, 25 Jul 2019 11:57:50 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:34303 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726770AbfGYP5u (ORCPT ); Thu, 25 Jul 2019 11:57:50 -0400 Received: by mail-qk1-f195.google.com with SMTP id t8so36813450qkt.1 for ; Thu, 25 Jul 2019 08:57:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maine.edu; s=google; h=from:date:to:cc:subject:message-id:user-agent:mime-version; bh=SPla4j9UdRCMl3oT+x1yXD7PU4HvdshXTJucOKF1pKw=; b=WO6CO2eEsVX56amwoXxnX6jynuaxAZM+Zv/iVCedoW/U6OS+gPcp8IB5KcFqiHEIag FOr9gZ7zG/q6wecsdlcYaRNb8+dVv3zw1ptgIwgBsXFR/FQmGK5kYo+2Z6+2RR2gRsML 7O12GvF9lKk1epDu1dHz0wrQtJTPG3HOo1Qlo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:user-agent :mime-version; bh=SPla4j9UdRCMl3oT+x1yXD7PU4HvdshXTJucOKF1pKw=; b=qEX6SywKhLQapdU2++sk+PN+pb9naXSqCT7w4hM+eaS3XtHsJP9xnBi+ULNafjrfFB 14hMZDzGY5YOQcTlfHmWGHwvBq7wInhZG7uonjFgP5teDyZzuS+aYmaoPWHMNjPR5hw0 VHxz7g9xp6uzrOZW+fRUX0llD7KFqbbV1g2AQZKI7ZP4UcooCtTwhdQE3Iw2kJvlzkF9 +7+W2PSvTx5cp85FdddWoxqpiFRmHvzhoGqlcecvD460/EsRmjx5PgjLD2ZPTK8gd4rB IeGpRRubxbthVsF2tGASksk45dlNRWpUFR5+JdRG6HK1k2cjh20PWGVWkEhlOL+TVtUC y7Pg== X-Gm-Message-State: APjAAAU4UFGYgwsmbOm0+e/BcSHzJGMWutZ3Q0MsFrN6twNCAK+a2Q+i ust53q5iQgtyP7QQjmun0rYDMphwpUU= X-Received: by 2002:a37:c40b:: with SMTP id d11mr53808447qki.78.1564070268693; Thu, 25 Jul 2019 08:57:48 -0700 (PDT) Received: from macbook-air (weaver.eece.maine.edu. [130.111.218.23]) by smtp.gmail.com with ESMTPSA id w80sm24043655qka.74.2019.07.25.08.57.47 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 25 Jul 2019 08:57:47 -0700 (PDT) From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Thu, 25 Jul 2019 11:57:43 -0400 (EDT) X-X-Sender: vince@macbook-air To: linux-kernel@vger.kernel.org cc: Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Alexander Shishkin , Jiri Olsa , Namhyung Kim Subject: [patch] perf.data documentation has wrong units for memory size Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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,