]> Git Repo - linux.git/commitdiff
perf test: No need for setting attr.sample_freq on the RECORD test
authorArnaldo Carvalho de Melo <[email protected]>
Thu, 7 Jan 2016 16:20:22 +0000 (13:20 -0300)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 7 Jan 2016 16:20:22 +0000 (13:20 -0300)
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 <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/tests/perf-record.c

index 8dc0baba87988fe8a786498b5cfa62bb64fcbc07..1cc78cefe3990906d8195c43c4d6971e630ddc42 100644 (file)
@@ -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;
This page took 0.05209 seconds and 4 git commands to generate.