Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1178710
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Arnaldo Carvalho de Melo <acme@kernel.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/24] kernel: add a netlink interface to get information about processes (v2) |
| Date | Tue, 07 Jul 2015 18:30:03 +0200 |
| Message-ID | <pJDUT-7UN-15@gated-at.bofh.it> (permalink) |
| References | <pJapQ-5WZ-3@gated-at.bofh.it> <pJidI-2LF-21@gated-at.bofh.it> <pJDia-7rq-29@gated-at.bofh.it> |
| X-Original-To | Andrew Vagin <avagin@odin.com> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| X-URL | http://acmel.wordpress.com |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 23 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Andy Lutomirski <luto@amacapital.net>, Andrey Vagin <avagin@openvz.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Linux API <linux-api@vger.kernel.org>, Oleg Nesterov <oleg@redhat.com>, Andrew Morton <akpm@linux-foundation.org>, Cyrill Gorcunov <gorcunov@openvz.org>, Pavel Emelyanov <xemul@parallels.com>, Roger Luethi <rl@hellgate.ch>, Arnd Bergmann <arnd@arndb.de>, David Ahern <dsahern@gmail.com>, Pavel Odintsov <pavel.odintsov@gmail.com> |
| X-Original-Date | Tue, 7 Jul 2015 13:25:52 -0300 |
| X-Original-Message-ID | <20150707162552.GM3326@kernel.org> |
| X-Original-References | <1436172445-6979-1-git-send-email-avagin@openvz.org> <CALCETrVg5AyeXW_AGguFoGCPK9_2zeobEgT9JJFsakH6PyQf_A@mail.gmail.com> <20150707154345.GA1593@odin.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | aioe.org linux.kernel:1178710 |
Show key headers only | View raw
Em Tue, Jul 07, 2015 at 06:43:46PM +0300, Andrew Vagin escreveu:
> On Mon, Jul 06, 2015 at 10:10:32AM -0700, Andy Lutomirski wrote:
> > On Mon, Jul 6, 2015 at 1:47 AM, Andrey Vagin <avagin@openvz.org> wrote:
> > Would it make more sense to have a new syscall instead? You could
> > even still use nlattr formatting for the syscall results.
>
> Andy, thank you for the feedback. I got your points. I need time to
> think about them. I suppose that a new syscall can be more suitable in
> this case, and I need time to form a vision of it. If you have any ideas
> or thoughts, I would be glad to know about them.
If a new syscall would indeed be better for this, then using
sys_perf_event_open and on one of the perf_event_attr flip a bit to ask
for those PERF_RECORD_{COMM,FORK,PERF_RECORD_MMAP2, etc} to be generated
in the perf buffer could make it reuse all the userspace tooling, with
really minimal change: flip the bit, don't synthesize it from /proc.
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 0/24] kernel: add a netlink interface to get information about processes (v2) Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-07-07 18:30 +0200
csiph-web