perf tools: Save partial non-overlapping map
authorFrederic Weisbecker <fweisbec@gmail.com>
Tue, 18 Aug 2009 15:04:03 +0000 (17:04 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 18 Aug 2009 15:18:03 +0000 (17:18 +0200)
commit6e086437f35ad9fda448711732c4ce0f82aad569
tree2479b5e6f11a5b0221cff9dcdd44c4caab2332a9
parent4273b005875c34beda4a11c9d4a9132d80378036
perf tools: Save partial non-overlapping map

The librarization of the thread helpers between annotate and
report lost some perf report specifics.

thread__insert_map() had its most uptodate version in perf
report which cared about partial map overlapping. In case of
overlap between two maps, perf annotate's version removes the
whole old map without considering if it partially or
absolutely overlaps the new map.

We exported the odd version, change it by using the perf
report version.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <1250607843-7395-1-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/thread.c