perf_counter tools: Librarize event string parsing
authorIngo Molnar <mingo@elte.hu>
Tue, 26 May 2009 09:10:09 +0000 (11:10 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 26 May 2009 09:26:34 +0000 (11:26 +0200)
commit8ad8db3788fd9a449941fb2392ca85af4ee1cde1
tree8c88edd7cdd4ecce57cda2c46b6dd544d00f97df
parent0e9b20b8a1cab6c6ab4f98f917a2d98783103969
perf_counter tools: Librarize event string parsing

Extract the event string parser from builtin-record.c, and
librarize it - to be reused in other commands.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/Makefile
Documentation/perf_counter/builtin-record.c
Documentation/perf_counter/util/parse-events.c [new file with mode: 0644]
Documentation/perf_counter/util/parse-events.h [new file with mode: 0644]