Home
last modified time | relevance | path

Searched hist:"5 a7ed29c7572d00a75e8c4529e30c5ac2ef82271" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/perf/
H A Dbuiltin-record.cdiff 5a7ed29c7572d00a75e8c4529e30c5ac2ef82271 Thu Apr 05 11:26:28 CDT 2012 Robert Richter <robert.richter@amd.com> perf record: Use sw counter only if hw pmu is not detected

Use cpu-clock-tick sw counter for cpu-cycles only if there is no hw
pmu available. This is the case if the syscall reports ENOENT. In
other cases (e.g. invalid attributes) we don't want the sw counter to
be used.

Cc: Ingo Molnar <mingo@kernel.org>
Link: http://lkml.kernel.org/r/1333643188-26895-5-git-send-email-robert.richter@amd.com
Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>