From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755520AbbB0VuX (ORCPT ); Fri, 27 Feb 2015 16:50:23 -0500 Received: from mail.kernel.org ([198.145.29.136]:36329 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755366AbbB0VuU (ORCPT ); Fri, 27 Feb 2015 16:50:20 -0500 Date: Fri, 27 Feb 2015 18:50:15 -0300 From: Arnaldo Carvalho de Melo To: David Ahern Cc: Pavel Odintsov , Andrew Vagin , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/7] [RFC] kernel: add a netlink interface to get information about processes Message-ID: <20150227215015.GD28401@kernel.org> References: <20150227204346.GB28401@kernel.org> <54F0D96B.3050409@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54F0D96B.3050409@gmail.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Feb 27, 2015 at 01:54:03PM -0700, David Ahern escreveu: > On 2/27/15 1:43 PM, Arnaldo Carvalho de Melo wrote: > > > From the subject line, there is patchkit, but I couldn't find it... Can > >you resend it to me or point me to some url where I can get it? > > https://lkml.org/lkml/2015/2/17/64 Yeah, I eventually found it, this would be great for perf: Another good feature of task_diag is an ability to request information for a few processes. Currently here are two stratgies TASK_DIAG_DUMP_ALL - get information for all tasks TASK_DIAG_DUMP_CHILDREN - get information for children of a specified tasks I.e. 'perf record -a' would use that TASK_DIAG_DUMP_ALL to synthesize PERF_RECORD_{FORK,COMM} events, we would still need some way to generate the PERF_RECORD_MMAP entries tho. - Arnaldo