Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp4533954imj; Tue, 12 Feb 2019 18:44:34 -0800 (PST) X-Google-Smtp-Source: AHgI3IYrDVTB9dkLwqnBHMXc/KxdiXlaz7UYQl6WlmvZRr3zNWdYEcMwEYmW6p2S5OYLrzXC0HFh X-Received: by 2002:a17:902:850a:: with SMTP id bj10mr7486370plb.100.1550025874917; Tue, 12 Feb 2019 18:44:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550025874; cv=none; d=google.com; s=arc-20160816; b=y9K8Xfa9eLzJ4c+FqG++QWfkOuvoDZB7ZWFqyKt+AnqAbgsacQb6CQUYkl7Y9QIiOS AZhssIvHtNiXFUZulcsAlqPE7Gy4OchmYfXs9YXkqk6kqm5K5PKyNpGPl6YHonjRBIe3 yPb595WKKh5lqEB38ZewlkdRtQuoJKKJdNYrFV03ePTEIgYOg3PbPxPJRPK3iCSvIP9I EdtnbqB+8NYZuqxCcMz0z3H6Xgpzg6Qp/uIaKjRaGpeIWfwzFO4Dww0E2/k2jJNYGJxY GsDsch+s2OfUT9WZAhpOg0v5imJmYVXN1w3y2nUCiXEpJwTLDs+PK7gbcbMpBh1TZTYP gLxg== 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=sU8W/il7L94N2hDJDTzTfCMRTS3C3XhLzSBOkjuRrwM=; b=hdFA/Ra6LlIYuwwQQim4N8yN1rCVEQgyV/t3v6xRYIWCH3b30a/yPFoW1PdBM7xtZb dHmZ0SiD268TvuWcS0pAa8RGt3kn5V7Jnvni/s8G1U0Ugog11ISNJGENeuH5XuqscIid aHt3B0W5WILLdNLpuS3W4WqSitmSbgFfodqlChzjUcqUq2r2pokfYsAaHkR2KUlbQfOs eZ6RFM9Iv2WTc19FsCOO4LZa6+k26Obfxg8Gmmstu1sQ4DwwrvfOUz78OdFjdyiu/wUc qoDzgM61rVsiY4G63PYJGYRwKF3KoolnRAL9/Maxkn5ySzWukfKg/NbQKz7uSFOUXYwU fH3Q== 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 d2si14617731pfe.159.2019.02.12.18.44.19; Tue, 12 Feb 2019 18:44:34 -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 S1733014AbfBMCiz (ORCPT + 99 others); Tue, 12 Feb 2019 21:38:55 -0500 Received: from mga14.intel.com ([192.55.52.115]:11923 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727458AbfBMCiu (ORCPT ); Tue, 12 Feb 2019 21:38:50 -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; 12 Feb 2019 18:38:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,364,1544515200"; d="scan'208";a="138153570" Received: from aubrey-skl.sh.intel.com ([10.239.53.19]) by orsmga001.jf.intel.com with ESMTP; 12 Feb 2019 18:38:47 -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 v11 3/3] Documentation/filesystems/proc.txt: add AVX512_elapsed_ms Date: Wed, 13 Feb 2019 10:37:48 +0800 Message-Id: <20190213023748.6614-3-aubrey.li@linux.intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190213023748.6614-1-aubrey.li@linux.intel.com> References: <20190213023748.6614-1-aubrey.li@linux.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 66cad5c86171..8da60ddcda7f 100644 --- a/Documentation/filesystems/proc.txt +++ b/Documentation/filesystems/proc.txt @@ -207,6 +207,7 @@ read the file /proc/PID/status: Speculation_Store_Bypass: thread vulnerable 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 @@ -224,7 +225,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.19) +Table 1-2: Contents of the status files (as of 5.1) .............................................................................. Field Content Name filename of the executable @@ -289,6 +290,7 @@ Table 1-2: Contents of the status files (as of 4.19) 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