tmp_suning_uos_patched/tools/perf
Robert Richter 5a7ed29c75 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>
2012-04-11 17:39:19 -03:00
..
arch perf tools: Use scnprintf where applicable 2012-03-14 12:36:19 -03:00
bench
config perf report: Add a simple GTK2-based 'perf report' browser 2012-03-19 15:13:29 -03:00
Documentation perf annotate: Allow printing objdump line addr in different color 2012-04-07 16:09:05 -03:00
python
scripts
ui perf tools: Move GTK+ bits to tools/perf/ui/gtk directory 2012-04-11 17:18:31 -03:00
util perf tools: Fix thread map that is type pid_t 2012-04-11 17:38:50 -03:00
.gitignore perf tools: Ignore auto-generated bison/flex files 2012-04-11 11:41:27 -03:00
builtin-annotate.c
builtin-bench.c
builtin-buildid-cache.c
builtin-buildid-list.c
builtin-diff.c perf diff: Fix to work with new hists design 2012-03-22 15:12:09 -03:00
builtin-evlist.c
builtin-help.c
builtin-inject.c
builtin-kmem.c
builtin-kvm.c
builtin-list.c
builtin-lock.c
builtin-probe.c
builtin-record.c perf record: Use sw counter only if hw pmu is not detected 2012-04-11 17:39:19 -03:00
builtin-report.c perf report: Correct display of samples and events in header 2012-04-07 17:29:41 -03:00
builtin-sched.c perf tools: Fix getrusage() related build failure on glibc trunk 2012-04-04 11:59:00 +02:00
builtin-script.c
builtin-stat.c perf stat: Declare some references static 2012-04-11 17:37:16 -03:00
builtin-test.c perf tools: Fix modifier to be applied on correct events 2012-03-22 15:11:38 -03:00
builtin-timechart.c
builtin-top.c perf annotate: Validate addr in symbol__inc_addr_samples 2012-04-05 19:51:14 -03:00
builtin.h
command-list.txt
CREDITS
design.txt
Makefile perf tools: Move GTK+ bits to tools/perf/ui/gtk directory 2012-04-11 17:18:31 -03:00
MANIFEST
perf-archive.sh
perf.c
perf.h Merge branch 'perf/urgent' into perf/core 2012-03-22 15:09:08 -03:00