]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf tests: Add thread maps lookup automated tests
authorJiri Olsa <jolsa@kernel.org>
Wed, 5 Mar 2014 16:20:31 +0000 (17:20 +0100)
committerJiri Olsa <jolsa@kernel.org>
Mon, 28 Apr 2014 11:42:52 +0000 (13:42 +0200)
commit4e85edfc3f5c0e016a960c1dcbe0217e86602525
tree100dfc86e6caa87980be07ef95b816fbc06273a6
parent3c3cfd99c8988e568a5243f38c600a6a03d1b148
perf tests: Add thread maps lookup automated tests

Adding automated test for memory maps lookup within multiple machines
threads.

The test creates 4 threads and separated memory maps. It checks that we
could use thread__find_addr_map function with thread object based on TID
to find memory maps.

Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1397490723-1992-2-git-send-email-jolsa@redhat.com
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/Makefile.perf
tools/perf/perf.h
tools/perf/tests/builtin-test.c
tools/perf/tests/mmap-thread-lookup.c [new file with mode: 0644]
tools/perf/tests/tests.h