OpenCloudOS-Kernel/tools/perf/tests
Stephane Eranian 5c5e854bc7 perf tools: Add attr->mmap2 support
This patch adds support for the new PERF_RECORD_MMAP2 record type
exposed by the kernel. This is an extended PERF_RECORD_MMAP record.

It adds for each file-backed mapping the device major, minor number and
the inode number and generation.

This triplet uniquely identifies the source of a file-backed mapping. It
can be used to detect identical virtual mappings between processes, for
instance.

The patch will prefer MMAP2 over MMAP.

Signed-off-by: Stephane Eranian <eranian@google.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.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/1377079825-19057-3-git-send-email-eranian@google.com
[ Cope with 314add6 "Change machine__findnew_thread() to set thread pid",
  fix 'perf test' regression test entry affected,
  use perf_missing_features.mmap2 to fallback to not using .mmap2 in older kernels,
  so that new tools can work with kernels where this feature is not present ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-09-11 10:09:32 -03:00
..
attr perf tests: Add attr record group sampling test 2013-08-07 17:35:23 -03:00
attr.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-04-30 09:36:50 -07:00
attr.py perf tests: Make attr script test event cpu 2013-03-15 13:06:00 -03:00
bp_signal.c perf tests: Fix compile errors in bp_signal files 2013-05-28 16:23:57 +03:00
bp_signal_overflow.c perf tests: Fix compile errors in bp_signal files 2013-05-28 16:23:57 +03:00
builtin-test.c perf tools: Add test for parsing with no sample_id_all bit 2013-09-05 16:17:46 -03:00
code-reading.c perf tools: change machine__findnew_thread() to set thread pid 2013-08-29 11:51:31 -03:00
dso-data.c perf tests: Make TEST_ASSERT_VAL global 2013-07-12 13:45:52 -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: Check proper prev_state size for sched_switch tp 2013-07-17 12:34:53 -03:00
hists_link.c perf tools: Remove references to struct ip_event 2013-08-29 15:29:28 -03:00
keep-tracking.c perf tests: Add 'keep tracking' test 2013-09-02 14:58:20 -03:00
make perf tests: Add broken install-* tests into tests/make 2013-07-22 16:54:56 -03:00
mmap-basic.c perf tools: Add support for PERF_SAMPLE_IDENTIFIER 2013-08-29 16:09:31 -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 tests: Add tests of new pinned modifier 2013-08-07 17:35:40 -03:00
parse-no-sample-id-all.c perf tools: Add test for parsing with no sample_id_all bit 2013-09-05 16:17:46 -03:00
perf-record.c perf tools: Add attr->mmap2 support 2013-09-11 10:09:32 -03:00
perf-time-to-tsc.c perf tools: Add test for converting perf time to/from TSC 2013-07-23 12:17:59 +02: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
sample-parsing.c perf tests: Add a sample parsing test 2013-08-29 16:46:58 -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 tools: Add test for parsing with no sample_id_all bit 2013-09-05 16:17:46 -03:00
vmlinux-kallsyms.c perf tests: Adjust the vmlinux symtab matches kallsyms test again 2013-08-07 17:35:33 -03:00