Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3344363imu; Mon, 17 Dec 2018 18:33:05 -0800 (PST) X-Google-Smtp-Source: AFSGD/USd/6Ew2IHKCTMpSdWnrRTm3ve1lCTtdiWCA5L+Cw6OYNt7e+H5Xp73h0OQyUu9988HJCk X-Received: by 2002:a17:902:24e7:: with SMTP id l36mr14908772plg.61.1545100385715; Mon, 17 Dec 2018 18:33:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545100385; cv=none; d=google.com; s=arc-20160816; b=rppQmgaESAbp2Pil4iOsclevzpWjcjZEWRB1nJ6vxdXyJ2seSmcPHaYz3u88auDPu5 dbiaCrqh0YSqvhWhTqyM7d6Qrlkh7n/daY3i/MFHdoujp8Rn2OQM2BjGMM9c7m1tK0Zf Pnc2RjnVYSo2gkLB2q6e9v5NngHm8+v/u6bbsCHo0cexBYz+DPXRWiwalQUissqwluuY fdT9t+OLGd8oNiKWNfFFmqduKh07yOSnUyRB6mnqJDkKPXg+BzOAaiVuZ0xnq5byAohL 4qoMjJluQoWH3QHl9OoyS+MAKFXDry4HdmnLIg0wid0qmxj/RNCs5ZWxyUVcOFEzy/d1 klFA== 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=e0QLsh8KofWUEwroiafS9fcQ2T5TPFV33xLU2HcfBJHWTc9IdO6hTl2z2Lvtd4sLLE KLpuFua1uIr3zzwDZ9IqUToKol6a1/E7CsoFEgYlxIabD6kd/sD8J0axiRM/j1LhIDBX dYRIr2yicaFWXCJyl3LrLDbssW/ficWguyMXQ96XDtJ/Qp2daVvMHTGSsMsQK/PSOJMd a3aNpQcDu9snQisyvwKhQEhAF1kTjcpBcZYr7103Hdn0kIcBKJ/SBX0z6hrtnkZpNMnJ KhKqzCe+PI0s0xSdx5qZY3uhx4OWoW8mEaOjDxbqafngsIgR2ZXwRTuiXiQnYIOAa7rm R1dg== 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 4si12684238pff.161.2018.12.17.18.32.50; Mon, 17 Dec 2018 18:33:05 -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 S1726531AbeLRCae (ORCPT + 99 others); Mon, 17 Dec 2018 21:30:34 -0500 Received: from mga17.intel.com ([192.55.52.151]:35298 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726312AbeLRCac (ORCPT ); Mon, 17 Dec 2018 21:30:32 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Dec 2018 18:30:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,367,1539673200"; d="scan'208";a="101465132" Received: from aubrey-skl.sh.intel.com ([10.239.53.9]) by orsmga006.jf.intel.com with ESMTP; 17 Dec 2018 18:30:29 -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: [RESEND PATCH v5 3/3] Documentation/filesystems/proc.txt: add AVX512_elapsed_ms Date: Tue, 18 Dec 2018 03:12:09 +0800 Message-Id: <20181217191209.6494-3-aubrey.li@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181217191209.6494-1-aubrey.li@intel.com> References: <20181217191209.6494-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