Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1590757 > unrolled thread

Re: [PATCH v7 1/8] perf: add PERF_RECORD_NAMESPACES to include namespaces related info

Started byArnaldo Carvalho de Melo <acme@kernel.org>
First post2017-03-02 02:10 +0100
Last post2017-03-02 02:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v7 1/8] perf: add PERF_RECORD_NAMESPACES to include  namespaces related info Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-03-02 02:10 +0100

#1590757 — Re: [PATCH v7 1/8] perf: add PERF_RECORD_NAMESPACES to include namespaces related info

FromArnaldo Carvalho de Melo <acme@kernel.org>
Date2017-03-02 02:10 +0100
SubjectRe: [PATCH v7 1/8] perf: add PERF_RECORD_NAMESPACES to include namespaces related info
Message-ID<tgnpM-30D-15@gated-at.bofh.it>
Em Fri, Feb 24, 2017 at 01:14:18PM +0100, Peter Zijlstra escreveu:
> On Tue, Feb 21, 2017 at 07:31:23PM +0530, Hari Bathini wrote:
> > With the advert of container technologies like docker, that depend
> > on namespaces for isolation, there is a need for tracing support for
> > namespaces. This patch introduces new PERF_RECORD_NAMESPACES event
> > for recording namespaces related info. By recording info for every
> > namespace, it is left to userspace to take a call on the definition
> > of a container and trace containers by updating perf tool accordingly.
> > 
> > Each namespace has a combination of device and inode numbers. Though
> > every namespace has the same device number currently, that may change
> > in future to avoid the need for a namespace of namespaces. Considering
> > such possibility, record both device and inode numbers separately for
> > each namespace.
> > 
> > Signed-off-by: Hari Bathini <hbathini@linux.vnet.ibm.com>
> > ---
> >  include/linux/perf_event.h      |    2 +
> >  include/uapi/linux/perf_event.h |   32 +++++++++
> >  kernel/events/core.c            |  139 +++++++++++++++++++++++++++++++++++++++
> >  kernel/fork.c                   |    2 +
> >  kernel/nsproxy.c                |    3 +
> >  5 files changed, 177 insertions(+), 1 deletion(-)
> 
> Arnaldo, seeing that most of this patch set is tool stuff, could you
> take the lot through the tool tree?
> 
> This patch:
> 
> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>

Ok, looking at it now.

- Arnaldo

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web