Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2601889imu; Thu, 17 Jan 2019 18:01:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN71oKaE4ykfPYHsRywCN/bfD1YUY/wawl0H/qKDb5QxdDRUJLFrFvwdHHyocqD4UicdvlRY X-Received: by 2002:a63:63c2:: with SMTP id x185mr15686579pgb.374.1547776884505; Thu, 17 Jan 2019 18:01:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547776884; cv=none; d=google.com; s=arc-20160816; b=KfKTRRW/q2HRxBPd5Rnz6yM+ndVHZqwHyDPm9HVy1JtxIviyPnHycvFssIeFIDRQ8f 5i6NMCrpLz1MmYJ6+96Isj/zExU1wrs4vhuZ7Xfnm3UJLit9JdqGbNvdMdfR/orqYoEU Ez+g8lDhVIWDvwTPJitsbaYBSWHrGdjdG4iBeoU1cqDNI92phw+Dls3ylyFWYTKb1/BV xy05a8iuw/+YiKmv6+0OboGpIiCDl1NV/Tx9HRIQXy6nYKpyvs3tn5GnN+eAKZaTqrw7 nX+o6jiX+FSUZSZqplpXBojFmIIt6o1P89itZn+ZTAjOgv7mZZMV3i4KnBeMu2b1Ojgr rgkA== 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=2SGv6JFhvPw5hERuS7WNpSRppNghmo2uv3oXG8+GD2c=; b=T3sTRIPG7LaHy7DW5mHdCktbZV4fM1u1lHGrcwbTCMxQWyxGdUhaZGQbIlTe8L8ugV +y4xWcbCdKVQ/DKId/UVXwM7My5ma4k6hysJSXH1dRsTfskqyzSiMYXKuZYmyVUJoG+a v42jvyz0+7PYHpjTx91go5P0Q2OxzKCzewuI9zmKXmo6WmoPyL6/4yEpfl0Fq17NgmGj dN4dUUfh/dQJ9GRRdLTyqOAJhKDnVfWyVQ+bMieJ49D0kxzEaOq8xGNNumQSY64eRbC5 Ujc90qdZoS5xVKSrILj2Ximaywly5tFLWmOwYFdpDyF4//NQwWMKDlf6MQGbhWNvZiVf Txtw== 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 u2si3122328pgo.544.2019.01.17.18.01.04; Thu, 17 Jan 2019 18:01:24 -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 S1727173AbfARB5z (ORCPT + 99 others); Thu, 17 Jan 2019 20:57:55 -0500 Received: from mga14.intel.com ([192.55.52.115]:26230 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726329AbfARB5x (ORCPT ); Thu, 17 Jan 2019 20:57:53 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jan 2019 17:57:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,489,1539673200"; d="scan'208";a="128728486" Received: from aubrey-skl.sh.intel.com ([10.239.53.9]) by orsmga001.jf.intel.com with ESMTP; 17 Jan 2019 17:57:50 -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 v8 3/3] Documentation/filesystems/proc.txt: add AVX512_elapsed_ms Date: Fri, 18 Jan 2019 02:38:22 +0800 Message-Id: <20190117183822.31333-3-aubrey.li@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190117183822.31333-1-aubrey.li@intel.com> References: <20190117183822.31333-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 12a5e6e693b6..1bc5d1b1f70b 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 5.0) .............................................................................. 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