From: Arnaldo Carvalho de Melo Date: Thu, 7 Jan 2016 16:20:22 +0000 (-0300) Subject: perf test: No need for setting attr.sample_freq on the RECORD test X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2e4f81ee90e801017115afb7397198f65e512031;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-cly7cnotktv5rqao13pkorem@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/tests/perf-record.c b/tools/perf/tests/perf-record.c index 8dc0baba8798..1cc78cefe399 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;