[PATCH 06/13] perf events parse: Use just one parse events state struct

2017-08-21 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Andi reported problems when parse errors were detected with vendor events (json), because in the yyparse/parse_events_parse function we dereferenced the _data parameter to two different structs, with different layouts, which ended up making

[PATCH 06/13] perf events parse: Use just one parse events state struct

2017-08-21 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Andi reported problems when parse errors were detected with vendor events (json), because in the yyparse/parse_events_parse function we dereferenced the _data parameter to two different structs, with different layouts, which ended up making