Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3753237imu; Tue, 18 Dec 2018 03:41:55 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wm1T1Fox6axqMqcMNkDUfpVOs6TqKDOMeWUvokiKbdvjyR3+4w/BH9eNt6CA2Vs6Aa+4qk X-Received: by 2002:a17:902:9b93:: with SMTP id y19mr16308192plp.336.1545133315532; Tue, 18 Dec 2018 03:41:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545133315; cv=none; d=google.com; s=arc-20160816; b=1ABEBhXsXtqF05WBwsn1F63XtEy2WHMS++50IcGVthxQD1z2BZKG2NcMJOeJOLpG9v 0R5KTFStI5zkDcTvQj5DD6Yc35+qcXQsBR3IZXPbjsnu9+FRM9xqTjZVFuf/mhk1lo5M pVyBuxyyElUZCA4AG3qPPcg7R/l3jEZEQRi+cdT2FQ3R97x+l9Cbk/fxk6Bk7V78TrnX OwB5yyr4i/xZo5XNkLlQsm5r0YPdw1XhYv5m/xLUszy0XacRFpveXYBOyiq1samhmxXL VPhlocIUKSXmSwxoZ9Dp6xlwUNgUe+G2/tquEsiIIwITz4K4gDtlkhZM0Ti+kmsnA1dk sg3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=wts1Udew4RmXriCp5LRQuOtQgt1ZKTgGNk5kSfOLKPM=; b=ko28rBw9mVpszJJMrOxLrroz/iZva7Kjc4g/p/0y8gP97y91tYEd9HnJdemC+dK9er 3CxCsHhE3DnAVIXe/cNial6N4QPsZHK/gt4xSltzF9huodznkZNYytcRCLO/eyEkVs9W yJ+kx4UQidA9skNFFjIS9FJe1ChzONFnTQ5U6BfXNV4/mPI+PTuW8tGdc/H5PDE9E9Bz ZKu/A2x10iHhTjHAg8m/FuOjUU6pLacLnPQ3EuvmRH2XSFo7Bhz0qAWggX4dvBf7Vio1 Eo4LcPWUGry1A5RYydLuXljTJEW1HbLDeLY4qK/VJb4oCekvcM882h9ePxIIigvxSpOO 7tSg== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si13210250plr.189.2018.12.18.03.41.40; Tue, 18 Dec 2018 03:41:55 -0800 (PST) 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726649AbeLRLkl (ORCPT + 99 others); Tue, 18 Dec 2018 06:40:41 -0500 Received: from mga03.intel.com ([134.134.136.65]:62099 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726364AbeLRLkk (ORCPT ); Tue, 18 Dec 2018 06:40:40 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Dec 2018 03:40:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,367,1539673200"; d="scan'208";a="304764721" Received: from aubrey-skl.sh.intel.com ([10.239.53.9]) by fmsmga005.fm.intel.com with ESMTP; 18 Dec 2018 03:40:38 -0800 From: Aubrey Li To: tglx@linutronix.de, mingo@redhat.com, peterz@infradead.org, hpa@zytor.com Cc: ak@linux.intel.com, tim.c.chen@linux.intel.com, dave.hansen@intel.com, arjan@linux.intel.com, aubrey.li@intel.com, linux-kernel@vger.kernel.org, Aubrey Li Subject: [PATCH v6 3/3] Documentation/filesystems/proc.txt: add AVX512_elapsed_ms Date: Tue, 18 Dec 2018 12:22:18 +0800 Message-Id: <20181218042218.8653-3-aubrey.li@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181218042218.8653-1-aubrey.li@intel.com> References: <20181218042218.8653-1-aubrey.li@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Added AVX512_elapsed_ms in /proc//status. Report it in Documentation/filesystems/proc.txt Signed-off-by: Aubrey Li Cc: Peter Zijlstra Cc: Andi Kleen Cc: Tim Chen Cc: Dave Hansen Cc: Arjan van de Ven --- Documentation/filesystems/proc.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index 520f6a84cf50..c4be304bce69 100644 --- a/Documentation/filesystems/proc.txt +++ b/Documentation/filesystems/proc.txt @@ -197,6 +197,7 @@ read the file /proc/PID/status: Seccomp: 0 voluntary_ctxt_switches: 0 nonvoluntary_ctxt_switches: 1 + AVX512_elapsed_ms: 1020 This shows you nearly the same information you would get if you viewed it with the ps command. In fact, ps uses the proc file system to obtain its @@ -214,7 +215,7 @@ asynchronous manner and the value may not be very precise. To see a precise snapshot of a moment, you can see /proc//smaps file and scan page table. It's slow but very precise. -Table 1-2: Contents of the status files (as of 4.8) +Table 1-2: Contents of the status files (as of 4.21) .............................................................................. Field Content Name filename of the executable @@ -275,6 +276,7 @@ Table 1-2: Contents of the status files (as of 4.8) Mems_allowed_list Same as previous, but in "list format" voluntary_ctxt_switches number of voluntary context switches nonvoluntary_ctxt_switches number of non voluntary context switches + AVX512_elapsed_ms time elapsed since last AVX512 use in millisecond .............................................................................. Table 1-3: Contents of the statm files (as of 2.6.8-rc3) -- 2.17.1