diff options
| author | Adrian Hunter <[email protected]> | 2015-05-19 16:05:42 +0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-05-27 12:21:43 -0300 |
| commit | bb78ce7d0598fb277290f8ee2443b8f4e0eb7cb2 (patch) | |
| tree | 57e6228cb6831f1c4673d073b3220d0cfd5e364f /tools/perf/scripts/python/syscall-counts.py | |
| parent | 128c32ed1866e6cf3d3944e7dcdcea06bc060b0d (diff) | |
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 <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions