[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200810150453.GB3962761@kroah.com>
Date: Mon, 10 Aug 2020 17:04:53 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Eugene Lubarsky <elubarsky.linux@...il.com>
Cc: linux-api@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, adobriyan@...il.com,
avagin@...il.com, dsahern@...il.com
Subject: Re: [RFC PATCH 0/5] Introduce /proc/all/ to gather stats from all
processes
On Tue, Aug 11, 2020 at 12:58:47AM +1000, Eugene Lubarsky wrote:
> This is an idea for substantially reducing the number of syscalls needed
> by monitoring tools whilst mostly re-using the existing API.
How many syscalls does this save on?
Perhaps you want my proposed readfile(2) syscall:
https://lore.kernel.org/r/20200704140250.423345-1-gregkh@linuxfoundation.org
to help out with things like this? :)
> The proposed files in this proof-of-concept patch set are:
>
> * /proc/all/stat
I think the problem will be defining "all" in the case of the specific
namespace you are dealing with, right? How will this handle all of
those issues properly for all of these different statisics?
thanks,
greg k-h
Powered by blists - more mailing lists