Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2075444imm; Mon, 28 May 2018 00:50:25 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr0H1j5VSB2DiAq0KNkSVr5cBW+nQr8JTI/UyVoaxGhnk+5Zo6bRzJHKjZjLtjIPqB31EU6 X-Received: by 2002:a62:8105:: with SMTP id t5-v6mr12412879pfd.215.1527493825031; Mon, 28 May 2018 00:50:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527493825; cv=none; d=google.com; s=arc-20160816; b=jwgZ8QHAZyops9q2m4fOUFmPuIproDEmmKiH9xRtI0Q3vBgSoXyKzlyzXxoL2yC8UL NsqfaIz/2O72vgPlWxnsPTzdc4qAlaEf9AG7feXuBFCx971ylzV+gkRa7jQ9/Ymu22PY J63772nk74SuCSgVKLeOgVYfGVLFmspUaaPV75jT+NolhESqL8E7/HzGqq9d272tpzCJ k8L00etXRt5cDpkm7hsHlZeGNEyeRa2gIZcb6jBMrNlVeVWPAUPw6X9pE7rMgkG5PfzA aNUWjZpD0oO9DwPReiyA3q6aMO1YIqvQN1vJ+skpDmtcE7f4iAovPzfwQTimY04r0l8b ki5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Vv3LsfGCcSTJiaVACNN6xi96BgfepoBKH289HpUPbQA=; b=KLP0m71D8UaM0OL7EloPsVzqMAu4TwvMA3qJRrRoTAKMgh68db3F6YobYDr0cwg74h RJtrNfM0WnL54cZ+7wYcGpB/INhHLHocPVYn8W885+/0V3575Kj/ioFiUEr4qLAP2FpD xawLHMdDCxLqGqfxww8LT2/BEUakSNdJKNWAWSpKz9KlrHb6qDbbmaWL89vVJerYV/OC oZDHbh6dM48GB5+N4XqcazaR5nvfovqjv75jLOe6iqYcp/JijYTTZKFFzHwK2+qpgFNa JneQz/lLXNGLmp97yrh9GTPAJvMrEGprcKsWeXm7H6iqkYJe4qo0IW3+KvWf3GIicTCW Zlzw== 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j91-v6si29060280pld.402.2018.05.28.00.50.09; Mon, 28 May 2018 00:50:24 -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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753899AbeE1Htu (ORCPT + 99 others); Mon, 28 May 2018 03:49:50 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:55096 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753734AbeE1Htr (ORCPT ); Mon, 28 May 2018 03:49:47 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4S7nXwo067383 for ; Mon, 28 May 2018 03:49:47 -0400 Received: from e06smtp15.uk.ibm.com (e06smtp15.uk.ibm.com [195.75.94.111]) by mx0a-001b2d01.pphosted.com with ESMTP id 2j8deagn4m-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 28 May 2018 03:49:46 -0400 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 28 May 2018 08:49:06 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp15.uk.ibm.com (192.168.101.145) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 28 May 2018 08:49:04 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w4S7n4vm22216954; Mon, 28 May 2018 07:49:04 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1ADAD52041; Mon, 28 May 2018 07:38:56 +0100 (BST) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id C0DEA52047; Mon, 28 May 2018 07:38:55 +0100 (BST) From: Thomas Richter To: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, acme@kernel.org Cc: brueckner@linux.vnet.ibm.com, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, Thomas Richter Subject: [PATCH] perf docu: Update section on cpu description Date: Mon, 28 May 2018 09:49:03 +0200 X-Mailer: git-send-email 2.16.3 X-TM-AS-GCONF: 00 x-cbid: 18052807-0020-0000-0000-00000421E1C2 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18052807-0021-0000-0000-000042B73139 Message-Id: <20180528074903.21781-1-tmricht@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-28_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1805280097 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the section HEADER_CPUDESC so the documentation matches code. Swap the two members of struct nr_cpus. Signed-off-by: Thomas Richter --- tools/perf/Documentation/perf.data-file-format.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/Documentation/perf.data-file-format.txt b/tools/perf/Documentation/perf.data-file-format.txt index d00f0d51cab8..16e2da0b674c 100644 --- a/tools/perf/Documentation/perf.data-file-format.txt +++ b/tools/perf/Documentation/perf.data-file-format.txt @@ -111,8 +111,8 @@ A perf_header_string with the CPU architecture (uname -m) A structure defining the number of CPUs. struct nr_cpus { - uint32_t nr_cpus_online; uint32_t nr_cpus_available; /* CPUs not yet onlined */ + uint32_t nr_cpus_online; }; HEADER_CPUDESC = 8, -- 2.14.3