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


Groups > linux.kernel > #1231303

Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and findfs objects

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Matt Fleming <matt@codeblueprint.co.uk>
Newsgroups linux.kernel
Subject Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and findfs objects
Date Wed, 23 Sep 2015 12:10:01 +0200
Message-ID <qbP9T-Z0-15@gated-at.bofh.it> (permalink)
References <q4b7B-7ff-35@gated-at.bofh.it> <q8Sxk-635-25@gated-at.bofh.it> <qbjD4-5TA-5@gated-at.bofh.it> <qbNB7-76g-1@gated-at.bofh.it> <qbNKO-7hp-11@gated-at.bofh.it>
X-Original-To Jiri Olsa <jolsa@redhat.com>
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=sNFcJQkNFbomhgJ9KsROT3AuZeqzDis7ox654/4I3RI=; b=FYKpRkclP14PUP/sBNV3kq9B2GZOKeLV1V0sfmEunuFpKzxCW57FgRADxi2WvMJUPF fWd0ASfq11VUppxgUveM/0WqINFTzaH5RnSGOtMnoibkN1KTWy0ygNcEkH9c5QsSSdYs VBEi5VfcdS9wbTzcohCuM2JepNvbv27NaicpOOXEnCYLNEmJ6L5jqi8DoPDWqYPW8oSQ AYnSyY3/mHkM+ncQCoFfo8ei0PYNSJKQHbGRchFpYaqtMSQu/ZDN8tIxNB6Ues49UPzf LT1QYKPREeAVaCibMd3HrzOS/8VbRW/gVQbeYwm/vfiYut+yRc2Xj6ZPZ6aPlk5MbH9z XJkg==
X-Gm-Message-State ALoCoQkLwC8SolktI4xLv+aci1uux0Qg6bLLZHc6lgBGjOndXqpG0MFkVnyXn2MzWOyRRtMlroBg
X-Received by 10.194.108.232 with SMTP id hn8mr35024928wjb.154.1443002897599; Wed, 23 Sep 2015 03:08:17 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.21 (2010-09-15)
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 49
Organization linux.* mail to news gateway
X-Original-Cc Vinson Lee <vlee@twopensource.com>, rostedt@goodmis.org, Jiri Olsa <jolsa@kernel.org>, raphael.beamonte@gmail.com, "H. Peter Anvin" <hpa@zytor.com>, LKML <linux-kernel@vger.kernel.org>, Arnaldo Carvalho de Melo <acme@redhat.com>, Peter Zijlstra <a.p.zijlstra@chello.nl>, David Ahern <dsahern@gmail.com>, Ingo Molnar <mingo@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Namhyung Kim <namhyung@kernel.org>, linux-tip-commits@vger.kernel.org, Michael Petlan <mpetlan@redhat.com>, Andi Kleen <ak@linux.intel.com>
X-Original-Date Wed, 23 Sep 2015 11:08:15 +0100
X-Original-Message-ID <20150923100815.GB2867@codeblueprint.co.uk>
X-Original-References <1441180605-24737-15-git-send-email-jolsa@kernel.org> <tip-60a1133a5b39738671eff1e4d77bedc1ee3fa528@git.kernel.org> <CAHTgTXWYbtd8B77dva2K=dHS1t-8nV7TtaEpoZFY87Q9XGTfBQ@mail.gmail.com> <20150923082302.GA2867@codeblueprint.co.uk> <20150923083906.GB2024@krava.redhat.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1231303

Show key headers only | View raw


On Wed, 23 Sep, at 10:39:06AM, Jiri Olsa wrote:
> On Wed, Sep 23, 2015 at 09:23:02AM +0100, Matt Fleming wrote:
> > 
> > Does automated testing exist for perf tools development?
> 
> heh, we've been playing game "who first mention it in public will implement it" ... you won! ;-)
 
Hehe, whoops!

> AFAIK we have: 
>   - 'perf test' for perf specific functionality
>   - 'make -f tests/make' for building
>   - build framework tests
> 
> I 'try' to run those before sending anything out, but we dont have
> automated thing that would run it any time Arnaldo push new perf/core.
 
Right. The problem with manual steps is that they're easy to forget.
Furthermore, it actively discourages you from adding new testing
functionality that requires more manual steps (who wants to remember
to type another command?).

Yes, you can script it, but then every developer ends up with their
own version, which get out of sync, or work slightly differently etc.

Also, now that we've potentially got perf arch tests coming [1] you or
Arnaldo may not always have the hardware available to ensure that no
regressions were introduced to the runtime testing, or the OS
installations to perform build testing, for say, Ubuntu or OpenSUSE.

That is kind of a separate problem (automated testing of a matrix of
OS and hardware configs), but having a single, standard way to
automate build/runtime testing of tools/perf is the first step.

> The RedHat QE has some more perf tool tests. There was some movement
> to make those public, but not sure how it ended up.. ccing Michael Petlan
> for news on this ;-)

Cool! I'd definitely be interested in knowing the details.

[1] - https://lkml.kernel.org/r/1441479742-15402-1-git-send-email-matt@codeblueprint.co.uk

-- 
Matt Fleming, Intel Open Source Technology Center
--
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 — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and  findfs objects Matt Fleming <matt@codeblueprint.co.uk> - 2015-09-23 10:30 +0200
  Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and  findfs objects Jiri Olsa <jolsa@redhat.com> - 2015-09-23 10:40 +0200
    Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and  findfs objects Matt Fleming <matt@codeblueprint.co.uk> - 2015-09-23 12:10 +0200
      Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and  findfs objects Michael Petlan <mpetlan@redhat.com> - 2015-09-24 17:10 +0200
    Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and  findfs objects Arnaldo Carvalho de Melo <acme@redhat.com> - 2015-09-23 15:50 +0200
      Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and  findfs objects Jiri Olsa <jolsa@redhat.com> - 2015-09-23 16:00 +0200
        Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and  findfs objects Arnaldo Carvalho de Melo <acme@redhat.com> - 2015-09-23 16:00 +0200
      Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and  findfs objects Matt Fleming <matt@codeblueprint.co.uk> - 2015-09-24 14:20 +0200
        Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and  findfs objects Arnaldo Carvalho de Melo <acme@redhat.com> - 2015-09-24 16:30 +0200

csiph-web