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


Groups > linux.kernel > #1586067

Re: [PATCH v7 0/8] perf: add support for analyzing events for containers

Path csiph.com!1.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!feeds.phibee-telecom.net!news.panservice.it!bofh.it!news.nic.it!robomod
From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH v7 0/8] perf: add support for analyzing events for containers
Date Wed, 22 Feb 2017 12:20:02 +0100
Message-ID <tdD7I-R8-5@gated-at.bofh.it> (permalink)
References <tdjiF-3At-7@gated-at.bofh.it>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.7.1 (2016-10-04)
X-Scanned-By MIMEDefang 2.68 on 10.5.11.27
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 22 Feb 2017 11:11:22 +0000 (UTC)
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 31
Organization linux.* mail to news gateway
X-Original-Cc ast@fb.com, peterz@infradead.org, lkml <linux-kernel@vger.kernel.org>, acme@kernel.org, alexander.shishkin@linux.intel.com, mingo@redhat.com, daniel@iogearbox.net, rostedt@goodmis.org, Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>, ebiederm@xmission.com, sargun@sargun.me, Aravinda Prasad <aravinda@linux.vnet.ibm.com>, brendan.d.gregg@gmail.com
X-Original-Date Wed, 22 Feb 2017 12:11:17 +0100
X-Original-Message-ID <20170222111117.GA21376@krava>
X-Original-References <148768564246.30285.16450228018975882950.stgit@hbathini.in.ibm.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1586067

Show key headers only | View raw


On Tue, Feb 21, 2017 at 07:31:11PM +0530, Hari Bathini wrote:
> Currently, there is no trivial mechanism to analyze events based on
> containers. perf -G can be used, but it will not filter events for the                  
> containers created after perf is invoked, making it difficult to assess/
> analyze performance issues of multiple containers at once.
> 
> This patch-set is aimed at addressing this limitation by introducing a
> new PERF_RECORD_NAMESPACES event that records namespaces related info.
> As containers are created with namespaces, the new data can be used to
> in assessment/analysis of multiple containers.
> 
> The first patch introduces PERF_RECORD_NAMESPACES in kernel while the
> second patch makes the corresponding changes in perf tool to read this
> PERF_RECORD_NAMESPACES events. The third patch demonstrates analysis
> of containers with this data by adding a cgroup identifier column in
> perf report, which contains the cgroup namespace's device and inode
> numbers. This is based on the assumption that each container is created
> with it's own cgroup namespace. The third patch has scope for improvement
> based on the conventions a container is attributed with, going forward.
> 
> Changes from v6:
> * Updated changelog of patch 1
> * Split patch 2 into smaller patches
> * Updated record and script documenatation
> * Dropped name field from ns_link_info struct

what's this version based on? I can't cleanly apply it neither
on tip's perf/core or master or Arnaldo's perf/core

thanks,
jirka

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v7 0/8] perf: add support for analyzing events for containers Hari Bathini <hbathini@linux.vnet.ibm.com> - 2017-02-21 15:10 +0100
  [PATCH v7 8/8] perf tool: add cgroup identifier entry in perf report Hari Bathini <hbathini@linux.vnet.ibm.com> - 2017-02-21 15:10 +0100
    Re: [PATCH v7 8/8] perf tool: add cgroup identifier entry in perf  report Jiri Olsa <jolsa@redhat.com> - 2017-02-22 17:50 +0100
  [PATCH v7 5/8] perf tool: add print support for namespace events Hari Bathini <hbathini@linux.vnet.ibm.com> - 2017-02-21 15:10 +0100
  [PATCH v7 3/8] perf tool: update about the new option to record  namespace events Hari Bathini <hbathini@linux.vnet.ibm.com> - 2017-02-21 15:10 +0100
  [PATCH v7 6/8] perf tool: add script print support for namespace  events Hari Bathini <hbathini@linux.vnet.ibm.com> - 2017-02-21 15:10 +0100
  [PATCH v7 4/8] perf tool: synthesize namespace events for current  processes Hari Bathini <hbathini@linux.vnet.ibm.com> - 2017-02-21 15:10 +0100
  Re: [PATCH v7 0/8] perf: add support for analyzing events for  containers Jiri Olsa <jolsa@redhat.com> - 2017-02-22 12:20 +0100
    Re: [PATCH v7 0/8] perf: add support for analyzing events for  containers Hari Bathini <hbathini@linux.vnet.ibm.com> - 2017-02-22 13:50 +0100
      Re: [PATCH v7 0/8] perf: add support for analyzing events for  containers Jiri Olsa <jolsa@redhat.com> - 2017-02-22 15:00 +0100

csiph-web