perf tools: Fix include header files in util/parse-events.h
authorRobert Richter <robert.richter@amd.com>
Thu, 5 Apr 2012 16:26:25 +0000 (18:26 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 2 May 2012 18:14:35 +0000 (15:14 -0300)
commitc651214e90e5c150015f7524a6bfc298ad61435f
tree51d670cf3ea6d6076742cf2b1b15735a4e4ff798
parent23080e4cd224013c06444e7850fe0bcb55c129ff
perf tools: Fix include header files in util/parse-events.h

Include header fixes for

... bool:

 util/parse-events.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘have_tracepoints’

... and types.h:

 util/parse-events.h:28: error: expected ‘)’ before ‘config’
 util/parse-events.h:34: error: expected declaration specifiers or ‘...’ before ‘u64’
 util/parse-events.h:45: error: expected ‘)’ before ‘type’

This happens if now other include files are included before
util/parse-events.h.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Cc: Ingo Molnar <mingo@kernel.org>
Link: http://lkml.kernel.org/r/1333643188-26895-2-git-send-email-robert.richter@amd.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/parse-events.h