diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2015-05-19 16:05:42 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-05-27 18:21:43 +0300 |
commit | bb78ce7d0598fb277290f8ee2443b8f4e0eb7cb2 (patch) | |
tree | 57e6228cb6831f1c4673d073b3220d0cfd5e364f /tools/perf/util/parse-events.y | |
parent | 128c32ed1866e6cf3d3944e7dcdcea06bc060b0d (diff) | |
download | linux-bb78ce7d0598fb277290f8ee2443b8f4e0eb7cb2.tar.xz |
perf tools: Fix function declarations needed by parse-events.y
Patch "perf tools: Add location to pmu event terms" moved declarations
for parse_events_term__num() and parse_events_term__str() so that they
were no longer visible in parse-events.y. That can result in segfaults
as the arguments no longer need match the function prototype.
Move the declarations back, changing YYLTYPE pointers to
pointers-to-void because YYLTYPE is not generated until parse-events.y
is processed.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Link: http://lkml.kernel.org/r/1432040746-1755-2-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/parse-events.y')
0 files changed, 0 insertions, 0 deletions