Skip to contentSkip to conversation

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

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Jan 9, 2016 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  2e4f81ee90e801017115afb7397198f65e512031
Gitweb:     http://git.kernel.org/tip/2e4f81ee90e801017115afb7397198f65e512031
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Thu, 7 Jan 2016 13:20:22 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
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.

---
 tools/perf/tests/perf-record.c | 1 -
 1 file changed, 1 deletion(-)
tools/perf/tests/perf-record.c +0 -1
index 8dc0bab..1cc78ce 100644
@@ -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;