linux_dsm_epyc7002/tools/perf/tests
Andi Kleen 05484298cb perf tools: Add support for weight v7 (modified)
perf record has a new option -W that enables weightened sampling.

Add sorting support in top/report for the average weight per sample and the
total weight sum. This allows to both compare relative cost per event
and the total cost over the measurement period.

Add the necessary glue to perf report, record and the library.

v2: Merge with new hist refactoring.
v3: Fix manpage. Remove value check.
Rename global_weight to weight and weight to local_weight.
v4: Readd sort keys to manpage
v5: Move weight to end
v6: Move weight to template
v7: Rename weight key.

Original patch from Andi modified by Stephane Eranian <eranian@google.com>
to include ONLY the weight supporting code and apply to pristine 3.8.0-rc4.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1359040242-8269-6-git-send-email-eranian@google.com
[ committer note: changed to cope with fc5871ed and the hists_link perf test entry ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-04-01 12:19:43 -03:00
..
attr perf tests: Add attr stat -C cpu test 2013-03-15 13:06:00 -03:00
attr.c perf tests: Make attr script verbose friendly 2013-03-15 13:05:59 -03:00
attr.py perf tests: Make attr script test event cpu 2013-03-15 13:06:00 -03:00
bp_signal_overflow.c perf tests: Test breakpoint overflow signal handler counts 2013-03-15 13:06:10 -03:00
bp_signal.c perf tests: Test breakpoint overflow signal handler 2013-03-15 13:06:10 -03:00
builtin-test.c perf tests: Add a test case for checking sw clock event frequency 2013-03-18 11:43:16 -03:00
dso-data.c perf tests: Check for mkstemp return value in dso-data test 2012-11-14 16:50:30 -03:00
evsel-roundtrip-name.c perf evlist: Remove cpus and threads arguments from perf_evlist__new() 2013-03-15 13:06:01 -03:00
evsel-tp-sched.c perf tests: Move perf_evsel__tp_sched_test into separate object 2012-11-14 16:50:02 -03:00
hists_link.c perf tools: Add support for weight v7 (modified) 2013-04-01 12:19:43 -03:00
mmap-basic.c perf evlist: Remove cpus and threads arguments from perf_evlist__new() 2013-03-15 13:06:01 -03:00
open-syscall-all-cpus.c perf evsel: Fix memory leaks on evsel->counts 2013-01-30 10:37:04 -03:00
open-syscall-tp-fields.c perf tests: Fixup return path of open-syscall-tp-fields test case 2013-03-15 13:06:12 -03:00
open-syscall.c perf test: Use perf_evsel__newtp constructor in the tracepoint tests 2012-12-10 15:11:43 -03:00
parse-events.c perf evlist: Remove cpus and threads arguments from perf_evlist__new() 2013-03-15 13:06:01 -03:00
perf-record.c perf tests: Fixup return path of perf record test case 2013-03-15 13:06:12 -03:00
pmu.c perf tests: Use ARRAY_SIZE() were applicable 2013-01-24 16:40:51 -03:00
python-use.c perf tests: Check python path on attr and binding test 2013-01-24 16:40:10 -03:00
rdpmc.c perf tests: Move test__rdpmc into separate object 2012-11-14 16:49:50 -03:00
sw-clock.c perf tests: Add a test case for checking sw clock event frequency 2013-03-18 11:43:16 -03:00
task-exit.c perf test: Add test case for checking number of EXIT events 2013-03-15 13:06:12 -03:00
tests.h perf tests: Add a test case for checking sw clock event frequency 2013-03-18 11:43:16 -03:00
vmlinux-kallsyms.c perf tests: Call machine__exit in the vmlinux matches kallsyms test 2013-01-25 12:49:29 -03:00