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


Groups > linux.kernel > #1305302 > unrolled thread

[tip:perf/core] perf test: No need for setting attr.sample_freq on the RECORD test

Started bytip-bot for Arnaldo Carvalho de Melo <tipbot@zytor.com>
First post2016-01-09 17:40 +0100
Last post2016-01-09 17:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [tip:perf/core] perf test:   No need for setting attr.sample_freq on the RECORD test tip-bot for Arnaldo Carvalho de Melo <tipbot@zytor.com> - 2016-01-09 17:40 +0100

#1305302 — [tip:perf/core] perf test: No need for setting attr.sample_freq on the RECORD test

Fromtip-bot for Arnaldo Carvalho de Melo <tipbot@zytor.com>
Date2016-01-09 17:40 +0100
Subject[tip:perf/core] perf test: No need for setting attr.sample_freq on the RECORD test
Message-ID<qP4Iz-87R-53@gated-at.bofh.it>
Commit-ID:  2e4f81ee90e801017115afb7397198f65e512031
Gitweb:     http://git.kernel.org/tip/2e4f81ee90e801017115afb7397198f65e512031
Author:     Arnaldo Carvalho de Melo <acme@redhat.com>
AuthorDate: Thu, 7 Jan 2016 13:20:22 -0300
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Thu, 7 Jan 2016 13:20:22 -0300

perf test: No need for setting attr.sample_freq on the RECORD test

We're not looking at PERF_RECORD_SAMPLE entries and now by default we
use PERF_COUNT_SW_DUMMY, so just remove that setting.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-cly7cnotktv5rqao13pkorem@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/tests/perf-record.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/perf/tests/perf-record.c b/tools/perf/tests/perf-record.c
index 8dc0bab..1cc78ce 100644
--- a/tools/perf/tests/perf-record.c
+++ b/tools/perf/tests/perf-record.c
@@ -40,7 +40,6 @@ int test__PERF_RECORD(int subtest __maybe_unused)
 			.uses_mmap = true,
 		},
 		.no_buffering = true,
-		.freq	      = 10,
 		.mmap_pages   = 256,
 	};
 	cpu_set_t cpu_mask;

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web