perf tools: Use tid in mmap/mmap2 events to find maps
authorDon Zickus <dzickus@redhat.com>
Wed, 26 Feb 2014 15:45:27 +0000 (10:45 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 18 Mar 2014 21:17:00 +0000 (18:17 -0300)
commit11c9abf2270793bd1c1b8828edb4223f8010e56c
tree119d802e4d8b5d6e7bbf9be0feecda284c0590ac
parent2c86c7ca760634f09dcbd76069e5102b4de6f8f1
perf tools: Use tid in mmap/mmap2 events to find maps

Now that we can properly synthesize threads system-wide, make sure the
mmap and mmap2 events use tids instead of pids to locate their maps.

Signed-off-by: Don Zickus <dzickus@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1393429527-167840-3-git-send-email-dzickus@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/hists_link.c
tools/perf/util/machine.c