perf tools: Refactor print_event_desc()
authorRobert Richter <robert.richter@amd.com>
Thu, 16 Aug 2012 19:10:22 +0000 (21:10 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 22 Aug 2012 16:45:59 +0000 (13:45 -0300)
commit4e1b9c679fcb208275b55eb8fc46c2d58ef6a2ee
tree58edb6e9f43e285283d07c10800e348a84c53691
parentac2ba9f36bb400755e411309f3e76dbf308a10e7
perf tools: Refactor print_event_desc()

For later use we need a function read_event_desc() for processing the
event_desc feature. Split it from print_event_desc().

Signed-off-by: Robert Richter <robert.richter@amd.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1345144224-27280-7-git-send-email-robert.richter@amd.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/header.c