perf: expose event__process function
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Mon, 2 Aug 2010 12:38:51 +0000 (18:08 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 4 Aug 2010 15:41:23 +0000 (12:41 -0300)
commitb83f920e179101a54721e5ab1d6c3edfb9d4bcbb
tree73f43481e5ea2f507afc2876b1cf4b5c0e395f5d
parentb5a6325464b700c4bdac8799c495970516eed41c
perf: expose event__process function

The event__process function is useful in processing /proc/<pid>/maps.  All of
the functions that are called from event__process are defined in util/event.c.
Though its defined in builtin-top.c, it could be reused for perf probe for
uprobes. Hence moving it to util/event.c and exporting the function.

LKML-Reference: <20100802123851.GD22812@linux.vnet.ibm.com>
Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-top.c
tools/perf/util/event.c
tools/perf/util/event.h