diff options
author | Robert Richter <[email protected]> | 2012-04-05 18:26:28 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-04-11 17:39:19 -0300 |
commit | 5a7ed29c7572d00a75e8c4529e30c5ac2ef82271 (patch) | |
tree | ece2e7d0e2c19ea5a3d0ec172ad0b81a8a19021d /tools/perf/scripts/python/Perf-Trace-Util | |
parent | 61d5bf5b01a0baf0934a4bd3d15bc14e4bbf202c (diff) |
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 <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Robert Richter <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions