Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3556389imj; Tue, 12 Feb 2019 00:17:15 -0800 (PST) X-Google-Smtp-Source: AHgI3IY2D6gByZGytS+YF+xGol2HkNT3p5PiioIvrCDSYK1NYsn/AI46oWT0vuDUMZgnEonrdqBr X-Received: by 2002:a63:f10c:: with SMTP id f12mr2546105pgi.374.1549959435079; Tue, 12 Feb 2019 00:17:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549959435; cv=none; d=google.com; s=arc-20160816; b=n/QWMWI7TA9Oly9tLZ+AvaYnPUDcNBdjmxlkTDlKaogB1BPdU08egqvvqOJpJU9v90 YWtH2sJ4lmm67Z3S7wFhSZWcARu4etklA5x5rVU+X1Cr2UT3z0SfSZh8M1QRxoCMmBUN zaYZg6l9sreT1QGHdDamh7IUlZ0qyfX7tmA6wOLlXdjrd/9PVfLKyCnGyn5mp1BC7hrU ZfYJEsrfiis+p60VSVPVnqijZLc4/RMutco/O/xFg0ONCd27WnDhs5mF8hGApMKI67ab M6fop6lfsfyA52RngJfk6zSzCt86wcg03yFmv6hRGjB5RLPc3RFXkBCLqqd2F/HAK3xm v27A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=j67UnRybepJqLkt26URvAnChVcMdoGAo/a/wRB4+B9A=; b=GtGdM+5uYA7kqaxgCDeaRBIdOnr+Ji8el7Mg1otiMcdqvW3x8cSwb+VVb9H5zyF6sA CZn1KLX4Ei2a4l4uj1sVWOfTefq6BsWB6bFZf1osklStho8rnLkqKxU6iP7OwmPohxnQ VtiiKFItzyyjbRPEqQjHTe1fgC2PJ8XevpjXHRLj6Ehy7PkfvFuW9klJBhQ9KAwdH5Cc oRecs1GoX0mPXb5OVbnM0vOtz/q544xKtIUjzdNPkxzH2DIdRzKSFCal4dTIxEaTgZqH kpNtdV5yDaLWVexxOS13pNNPyYTy5oqg23XYbEBqKznD96RqacDmWW3bqAYYHdofYPbm EPog== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p66si12906714pfp.144.2019.02.12.00.16.59; Tue, 12 Feb 2019 00:17:15 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728170AbfBLIPf (ORCPT + 99 others); Tue, 12 Feb 2019 03:15:35 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:42589 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727509AbfBLIPf (ORCPT ); Tue, 12 Feb 2019 03:15:35 -0500 Received: from p5492e0d8.dip0.t-ipconnect.de ([84.146.224.216] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gtTDz-0004E7-Fj; Tue, 12 Feb 2019 09:15:27 +0100 Date: Tue, 12 Feb 2019 09:15:26 +0100 (CET) From: Thomas Gleixner To: Aubrey Li cc: mingo@redhat.com, peterz@infradead.org, hpa@zytor.com, ak@linux.intel.com, tim.c.chen@linux.intel.com, dave.hansen@intel.com, arjan@linux.intel.com, linux-kernel@vger.kernel.org, Aubrey Li Subject: Re: [PATCH v9 1/3] /proc/pid/status: Add support for architecture specific output In-Reply-To: Message-ID: References: <20190211185931.4386-1-aubrey.li@intel.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 12 Feb 2019, Thomas Gleixner wrote: > On Tue, 12 Feb 2019, Aubrey Li wrote: > > > The architecture specific information of the running processes could > > be useful to the userland. Add support to examine process architecture > > specific information externally. > > > > Signed-off-by: Aubrey Li > > Cc: Peter Zijlstra > > Cc: Andi Kleen > > Cc: Tim Chen > > Cc: Dave Hansen > > Cc: Arjan van de Ven > > --- > > fs/proc/array.c | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/fs/proc/array.c b/fs/proc/array.c > > index 0ceb3b6b37e7..d8cb5b5fd7bb 100644 > > --- a/fs/proc/array.c > > +++ b/fs/proc/array.c > > @@ -392,6 +392,10 @@ static inline void task_core_dumping(struct seq_file *m, struct mm_struct *mm) > > seq_putc(m, '\n'); > > } > > > > +void __weak arch_proc_pid_status(struct seq_file *m, struct task_struct *task) > > +{ > > +} > > This still lacks a prototype. Aside of that this doesn't apply to tip or Linus tree.... Thanks, tglx