aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2013-02-13 13:48:58 -0800
committerArnaldo Carvalho de Melo <[email protected]>2013-02-14 16:12:34 -0300
commit85df3b3769222894e9692b383c7af124b7721086 (patch)
treeb157ae2168c74720030031bfb4bb35878d9cf2be /tools/perf/util/scripting-engines/trace-event-python.c
parent02320931ce000836aa231ac1311769e303122099 (diff)
perf tools: Fix build with bison 2.3 and older.
The %name-prefix "prefix" syntax is not available on bison 2.3 and older. Substitute with the -p "prefix" command-line option for compatibility with older versions of bison. This patch fixes this build error with older versions of bison. CC util/sysfs.o BISON util/pmu-bison.c util/pmu.y:2.14-24: syntax error, unexpected string, expecting = make: *** [util/pmu-bison.c] Error 1 Signed-off-by: Vinson Lee <[email protected]> Tested-by: Li Zefan <[email protected]> Cc: [email protected] # 3.4+ Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Li Zefan <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Pekka Enberg <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions