Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion perf tests: Add attr record no samples test

Received: by 10.66.85.102 with SMTP id g6mr9852941paz.5.1352876486795;
        Tue, 13 Nov 2012 23:01:26 -0800 (PST)
Path: s9ni10576pbb.0!nntp.google.com!news.glorb.com!uio.no!nntp.uio.no!.POSTED!not-for-mail
From: tip-bot for Jiri Olsa <jo...@redhat.com>
Newsgroups: fa.linux.kernel
Subject: [tip:perf/core] perf tests: Add attr record no samples test
Date: Wed, 14 Nov 2012 07:01:26 UTC
Organization: Internet mailing list
Lines: 41
Sender: linux-kernel-ow...@vger.kernel.org
Message-ID: <fa.pa4SXWlvfCtvr8e3toPsUpBfLK0@ifi.uio.no>
References: <fa.jM6j1LXi4e7M/i3PzZ6kZLaehXo@ifi.uio.no>
Reply-To: mi...@kernel.org, h...@zytor.com, pau...@samba.org,
	  linux-ker...@vger.kernel.org, a...@redhat.com,
	  a.p.zijls...@chello.nl, jo...@redhat.com, fweis...@gmail.com,
	  t...@linutronix.de, cjash...@linux.vnet.ibm.com, mi...@elte.hu
NNTP-Posting-Host: mail-jess.uio.no
Mime-Version: 1.0
X-Trace: readme.uio.no 1352876486 10307 129.240.7.9 (14 Nov 2012 07:01:26 GMT)
X-Complaints-To: abuse@uio.no
NNTP-Posting-Date: Wed, 14 Nov 2012 07:01:26 +0000 (UTC)
Cc: a...@redhat.com, linux-ker...@vger.kernel.org, pau...@samba.org,
	h...@zytor.com, mi...@kernel.org, a.p.zijls...@chello.nl,
	jo...@redhat.com, fweis...@gmail.com, t...@linutronix.de,
	cjash...@linux.vnet.ibm.com, mi...@elte.hu
To: linux-tip-comm...@vger.kernel.org
X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tip...@zytor.com using -f
In-Reply-To: <1351634526-1516-12-git-send-email-jolsa@redhat.com>
Git-Commit-ID: 55adeee3aaf745cc8b4e7c5976afbab95bde5697
X-Mailer: tip-git-log-daemon
Robot-ID: <tip-bot.git.kernel.org>
Robot-Unsubscribe: Contact <mailto:h...@kernel.org>
  to get blacklisted from these emails
X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00,
	T_DATE_IN_FUTURE_96_Q autolearn=ham version=3.3.2
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on terminus.zytor.com
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (terminus.zytor.com [127.0.0.1]); Tue, 13 Nov 2012 23:00:57 -0800 (PST)
List-ID: <linux-kernel.vger.kernel.org>
X-Mailing-List: linux-ker...@vger.kernel.org
Original-Date: Tue, 13 Nov 2012 23:00:51 -0800
Original-Message-Id: <tip-55adeee3aaf745cc8b4e7c5976afbab95bde5...@git.kernel.org>
Original-References: <1351634526-1516-12-git-send-email-jo...@redhat.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-Disposition: inline

Commit-ID:  55adeee3aaf745cc8b4e7c5976afbab95bde5697
Gitweb:     http://git.kernel.org/tip/55adeee3aaf745cc8b4e7c5976afbab95bde5697
Author:     Jiri Olsa <jo...@redhat.com>
AuthorDate: Tue, 30 Oct 2012 23:01:52 +0100
Committer:  Arnaldo Carvalho de Melo <a...@redhat.com>
CommitDate: Thu, 1 Nov 2012 17:08:11 -0300

perf tests: Add attr record no samples test

Adding test to validate perf_event_attr data for command:
  'record -n'

Signed-off-by: Jiri Olsa <jo...@redhat.com>
Cc: Corey Ashford <cjash...@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweis...@gmail.com>
Cc: Ingo Molnar <mi...@elte.hu>
Cc: Paul Mackerras <pau...@samba.org>
Cc: Peter Zijlstra <a.p.zijls...@chello.nl>
Link: http://lkml.kernel.org/r/1351634526-1516-12-git-send-email-jo...@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <a...@redhat.com>
---
 tools/perf/tests/attr/test-record-no-samples |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/tools/perf/tests/attr/test-record-no-samples b/tools/perf/tests/attr/test-record-no-samples
new file mode 100644
index 0000000..d0141b2
--- /dev/null
+++ b/tools/perf/tests/attr/test-record-no-samples
@@ -0,0 +1,6 @@
+[config]
+command = record
+args    = -n kill >/dev/null 2>&1
+
+[event:base-record]
+sample_period=0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/