perf tools: Factorize the map helpers

Factorize the dso mapping helpers into a single purpose common file
"util/map.c"

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Brice Goglin <Brice.Goglin@inria.fr>
This commit is contained in:
Frederic Weisbecker
2009-08-12 11:07:25 +02:00
parent 1fe2c1066c
commit 66e274f3b8
9 changed files with 137 additions and 198 deletions

View File

@@ -6,6 +6,7 @@
#include <linux/list.h>
#include <linux/rbtree.h>
#include "module.h"
#include "event.h"
struct symbol {
struct rb_node rb_node;