OSDN Git Service

perf test: No need for setting attr.sample_freq on the RECORD test
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 7 Jan 2016 16:20:22 +0000 (13:20 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 7 Jan 2016 16:20:22 +0000 (13:20 -0300)
commit2e4f81ee90e801017115afb7397198f65e512031
treefbcf5c4372472992dcee641d70b8b70048257a48
parent69ef8f475586974d3921c4799bfa75b8fef877a8
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