Linux Perf
|
#include <linux/compiler.h>
#include <linux/list.h>
#include <linux/types.h>
#include "util.h"
#include "pmu.h"
#include "debug.h"
#include "parse-events.h"
#include "parse-events-bison.h"
#include <stddef.h>
#include <stdio.h>
Go to the source code of this file.
Classes | |
union | yyalloc |
Macros | |
#define | YYBISON 1 |
#define | YYBISON_VERSION "3.0.4" |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 1 |
#define | YYPUSH 0 |
#define | YYPULL 1 |
#define | yyparse parse_events_parse |
#define | yylex parse_events_lex |
#define | yyerror parse_events_error |
#define | yydebug parse_events_debug |
#define | yynerrs parse_events_nerrs |
#define | YYDEBUG 1 |
#define | ABORT_ON(val) |
#define | ALLOC_LIST(list) |
#define | YY_NULLPTR 0 |
#define | YYERROR_VERBOSE 0 |
#define | YYSIZE_T size_t |
#define | YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
#define | YY_(Msgid) Msgid |
#define | YY_ATTRIBUTE(Spec) /* empty */ |
#define | YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) |
#define | YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) |
#define | _Noreturn YY_ATTRIBUTE ((__noreturn__)) |
#define | YYUSE(E) ((void) (E)) |
#define | YY_INITIAL_VALUE(Value) Value |
#define | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
#define | YY_IGNORE_MAYBE_UNINITIALIZED_END |
#define | YYSTACK_ALLOC YYMALLOC |
#define | YYSTACK_FREE YYFREE |
#define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define | YYMALLOC malloc |
#define | YYFREE free |
#define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
#define | YYSTACK_BYTES(N) |
#define | YYCOPY_NEEDED 1 |
#define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
#define | YYCOPY(Dst, Src, Count) |
#define | YYFINAL 42 |
#define | YYLAST 137 |
#define | YYNTOKENS 37 |
#define | YYNNTS 30 |
#define | YYNRULES 76 |
#define | YYNSTATES 132 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 282 |
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -32 |
#define | yypact_value_is_default(Yystate) (!!((Yystate) == (-32))) |
#define | YYTABLE_NINF -1 |
#define | yytable_value_is_error(Yytable_value) 0 |
#define | yyerrok (yyerrstatus = 0) |
#define | yyclearin (yychar = YYEMPTY) |
#define | YYEMPTY (-2) |
#define | YYEOF 0 |
#define | YYACCEPT goto yyacceptlab |
#define | YYABORT goto yyabortlab |
#define | YYERROR goto yyerrorlab |
#define | YYRECOVERING() (!!yyerrstatus) |
#define | YYBACKUP(Token, Value) |
#define | YYTERROR 1 |
#define | YYERRCODE 256 |
#define | YYLLOC_DEFAULT(Current, Rhs, N) |
#define | YYRHSLOC(Rhs, K) ((Rhs)[K]) |
#define | YYFPRINTF fprintf |
#define | YYDPRINTF(Args) |
#define | YY_LOCATION_PRINT(File, Loc) yy_location_print_ (File, &(Loc)) |
#define | YY_SYMBOL_PRINT(Title, Type, Value, Location) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YYINITDEPTH 200 |
#define | YYMAXDEPTH 10000 |
#define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N), yylsp -= (N)) |
Typedefs | |
typedef unsigned char | yytype_uint8 |
typedef signed char | yytype_int8 |
typedef unsigned short int | yytype_uint16 |
typedef short int | yytype_int16 |
Functions | |
void | parse_events_error (YYLTYPE *loc, void *data, void *scanner, char const *msg) |
static void | inc_group_count (struct list_head *list, struct parse_events_evlist *data) |
void * | malloc (YYSIZE_T) |
void | free (void *) |
static YY_ATTRIBUTE_UNUSED unsigned | yy_location_print_ (FILE *yyo, YYLTYPE const *const yylocp) |
static void | yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const *const yyvaluep, YYLTYPE const *const yylocationp, void *_data, void *scanner) |
static void | yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const *const yyvaluep, YYLTYPE const *const yylocationp, void *_data, void *scanner) |
static void | yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop) |
static void | yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, YYLTYPE *yylsp, int yyrule, void *_data, void *scanner) |
static void | yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, YYLTYPE *yylocationp, void *_data, void *scanner) |
int | yyparse (void *_data, void *scanner) |
void | parse_events_error (YYLTYPE *loc, void *data, void *scanner __maybe_unused, char const *msg __maybe_unused) |
Variables | |
static const yytype_uint8 | yytranslate [] |
static const yytype_uint16 | yyrline [] |
static const char *const | yytname [] |
static const yytype_int8 | yypact [] |
static const yytype_uint8 | yydefact [] |
static const yytype_int8 | yypgoto [] |
static const yytype_int8 | yydefgoto [] |
static const yytype_uint8 | yytable [] |
static const yytype_int16 | yycheck [] |
static const yytype_uint8 | yystos [] |
static const yytype_uint8 | yyr1 [] |
static const yytype_uint8 | yyr2 [] |
int | yydebug |
#define _Noreturn YY_ATTRIBUTE ((__noreturn__)) |
Definition at line 299 of file parse-events-bison.c.
#define ABORT_ON | ( | val | ) |
Definition at line 87 of file parse-events-bison.c.
#define ALLOC_LIST | ( | list | ) |
Definition at line 93 of file parse-events-bison.c.
#define YY_ | ( | Msgid | ) | Msgid |
Definition at line 272 of file parse-events-bison.c.
#define YY_ATTRIBUTE | ( | Spec | ) | /* empty */ |
Definition at line 282 of file parse-events-bison.c.
#define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) |
Definition at line 287 of file parse-events-bison.c.
#define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) |
Definition at line 291 of file parse-events-bison.c.
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 322 of file parse-events-bison.c.
#define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 323 of file parse-events-bison.c.
#define YY_INITIAL_VALUE | ( | Value | ) | Value |
Definition at line 319 of file parse-events-bison.c.
#define YY_LOCATION_PRINT | ( | File, | |
Loc | |||
) | yy_location_print_ (File, &(Loc)) |
Definition at line 831 of file parse-events-bison.c.
#define YY_NULLPTR 0 |
Definition at line 115 of file parse-events-bison.c.
#define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 938 of file parse-events-bison.c.
#define YY_STACK_PRINT | ( | Bottom, | |
Top | |||
) |
Definition at line 907 of file parse-events-bison.c.
#define YY_SYMBOL_PRINT | ( | Title, | |
Type, | |||
Value, | |||
Location | |||
) |
Definition at line 840 of file parse-events-bison.c.
#define YYABORT goto yyabortlab |
Definition at line 726 of file parse-events-bison.c.
#define YYACCEPT goto yyacceptlab |
Definition at line 725 of file parse-events-bison.c.
#define YYBACKUP | ( | Token, | |
Value | |||
) |
Definition at line 732 of file parse-events-bison.c.
#define YYBISON 1 |
Definition at line 44 of file parse-events-bison.c.
#define YYBISON_VERSION "3.0.4" |
Definition at line 47 of file parse-events-bison.c.
Definition at line 721 of file parse-events-bison.c.
#define YYCOPY | ( | Dst, | |
Src, | |||
Count | |||
) |
Definition at line 448 of file parse-events-bison.c.
#define YYCOPY_NEEDED 1 |
Definition at line 420 of file parse-events-bison.c.
#define yydebug parse_events_debug |
Definition at line 66 of file parse-events-bison.c.
#define YYDEBUG 1 |
Definition at line 74 of file parse-events-bison.c.
#define YYDPRINTF | ( | Args | ) |
Definition at line 789 of file parse-events-bison.c.
#define YYEMPTY (-2) |
Definition at line 722 of file parse-events-bison.c.
#define YYEOF 0 |
Definition at line 723 of file parse-events-bison.c.
#define YYERRCODE 256 |
Definition at line 751 of file parse-events-bison.c.
#define yyerrok (yyerrstatus = 0) |
Definition at line 720 of file parse-events-bison.c.
#define yyerror parse_events_error |
Definition at line 65 of file parse-events-bison.c.
#define YYERROR goto yyerrorlab |
Definition at line 727 of file parse-events-bison.c.
#define YYERROR_VERBOSE 0 |
Definition at line 124 of file parse-events-bison.c.
#define YYFINAL 42 |
Definition at line 461 of file parse-events-bison.c.
#define YYFPRINTF fprintf |
Definition at line 786 of file parse-events-bison.c.
#define YYFREE free |
Definition at line 389 of file parse-events-bison.c.
#define YYINITDEPTH 200 |
Definition at line 957 of file parse-events-bison.c.
#define YYLAST 137 |
Definition at line 463 of file parse-events-bison.c.
#define yylex parse_events_lex |
Definition at line 64 of file parse-events-bison.c.
#define YYLLOC_DEFAULT | ( | Current, | |
Rhs, | |||
N | |||
) |
Definition at line 759 of file parse-events-bison.c.
#define YYMALLOC malloc |
Definition at line 383 of file parse-events-bison.c.
#define YYMAXDEPTH 10000 |
Definition at line 968 of file parse-events-bison.c.
#define YYMAXUTOK 282 |
Definition at line 477 of file parse-events-bison.c.
#define yynerrs parse_events_nerrs |
Definition at line 67 of file parse-events-bison.c.
#define YYNNTS 30 |
Definition at line 468 of file parse-events-bison.c.
#define YYNRULES 76 |
Definition at line 470 of file parse-events-bison.c.
#define YYNSTATES 132 |
Definition at line 472 of file parse-events-bison.c.
#define YYNTOKENS 37 |
Definition at line 466 of file parse-events-bison.c.
#define YYPACT_NINF -32 |
Definition at line 567 of file parse-events-bison.c.
#define yypact_value_is_default | ( | Yystate | ) | (!!((Yystate) == (-32))) |
Definition at line 569 of file parse-events-bison.c.
#define yyparse parse_events_parse |
Definition at line 63 of file parse-events-bison.c.
#define YYPOPSTACK | ( | N | ) | (yyvsp -= (N), yyssp -= (N), yylsp -= (N)) |
#define YYPULL 1 |
Definition at line 59 of file parse-events-bison.c.
#define YYPURE 1 |
Definition at line 53 of file parse-events-bison.c.
#define YYPUSH 0 |
Definition at line 56 of file parse-events-bison.c.
#define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 730 of file parse-events-bison.c.
Definition at line 778 of file parse-events-bison.c.
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
Definition at line 262 of file parse-events-bison.c.
#define YYSIZE_T size_t |
Definition at line 256 of file parse-events-bison.c.
#define YYSKELETON_NAME "yacc.c" |
Definition at line 50 of file parse-events-bison.c.
#define YYSTACK_ALLOC YYMALLOC |
Definition at line 369 of file parse-events-bison.c.
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 372 of file parse-events-bison.c.
#define YYSTACK_BYTES | ( | N | ) |
Definition at line 416 of file parse-events-bison.c.
#define YYSTACK_FREE YYFREE |
Definition at line 370 of file parse-events-bison.c.
#define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
Definition at line 412 of file parse-events-bison.c.
#define YYSTACK_RELOCATE | ( | Stack_alloc, | |
Stack | |||
) |
Definition at line 427 of file parse-events-bison.c.
#define YYTABLE_NINF -1 |
Definition at line 572 of file parse-events-bison.c.
#define yytable_value_is_error | ( | Yytable_value | ) | 0 |
Definition at line 574 of file parse-events-bison.c.
#define YYTERROR 1 |
Definition at line 750 of file parse-events-bison.c.
#define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
Definition at line 479 of file parse-events-bison.c.
#define YYUNDEFTOK 2 |
Definition at line 476 of file parse-events-bison.c.
Definition at line 305 of file parse-events-bison.c.
typedef short int yytype_int16 |
Definition at line 246 of file parse-events-bison.c.
typedef signed char yytype_int8 |
Definition at line 234 of file parse-events-bison.c.
typedef unsigned short int yytype_uint16 |
Definition at line 240 of file parse-events-bison.c.
typedef unsigned char yytype_uint8 |
Definition at line 228 of file parse-events-bison.c.
void free | ( | void * | ) |
|
static |
Definition at line 100 of file parse-events-bison.c.
void* malloc | ( | YYSIZE_T | ) |
void parse_events_error | ( | YYLTYPE * | loc, |
void * | data, | ||
void * | scanner, | ||
char const * | msg | ||
) |
void parse_events_error | ( | YYLTYPE * | loc, |
void * | data, | ||
void *scanner | __maybe_unused, | ||
char const *msg | __maybe_unused | ||
) |
|
static |
Definition at line 807 of file parse-events-bison.c.
|
static |
|
static |
Definition at line 896 of file parse-events-bison.c.
|
static |
Definition at line 857 of file parse-events-bison.c.
|
static |
Definition at line 1199 of file parse-events-bison.c.
int yyparse | ( | void * | _data, |
void * | scanner | ||
) |
|
static |
Definition at line 655 of file parse-events-bison.c.
int yydebug |
Definition at line 946 of file parse-events-bison.c.
|
static |
Definition at line 600 of file parse-events-bison.c.
|
static |
Definition at line 627 of file parse-events-bison.c.
|
static |
Definition at line 579 of file parse-events-bison.c.
|
static |
Definition at line 619 of file parse-events-bison.c.
|
static |
Definition at line 694 of file parse-events-bison.c.
|
static |
Definition at line 707 of file parse-events-bison.c.
|
static |
Definition at line 519 of file parse-events-bison.c.
|
static |
Definition at line 675 of file parse-events-bison.c.
|
static |
Definition at line 637 of file parse-events-bison.c.
|
static |
Definition at line 535 of file parse-events-bison.c.
|
static |
Definition at line 484 of file parse-events-bison.c.