|
Linux Perf
|

Go to the source code of this file.
Classes | |
| union | YYSTYPE |
| 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 expr__parse |
| #define | yylex expr__lex |
| #define | yyerror expr__error |
| #define | yydebug expr__debug |
| #define | yynerrs expr__nerrs |
| #define | IN_EXPR_Y 1 |
| #define | MAXIDLEN 256 |
| #define | YY_NULLPTR 0 |
| #define | YYERROR_VERBOSE 0 |
| #define | YY_EXPR_UTIL_EXPR_BISON_H_INCLUDED |
| #define | YYDEBUG 0 |
| #define | YYTOKENTYPE |
| #define | YYSTYPE_IS_TRIVIAL 1 |
| #define | YYSTYPE_IS_DECLARED 1 |
| #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 9 |
| #define | YYLAST 31 |
| #define | YYNTOKENS 17 |
| #define | YYNNTS 3 |
| #define | YYNRULES 11 |
| #define | YYNSTATES 21 |
| #define | YYUNDEFTOK 2 |
| #define | YYMAXUTOK 261 |
| #define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
| #define | YYPACT_NINF -9 |
| #define | yypact_value_is_default(Yystate) (!!((Yystate) == (-9))) |
| #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 | YYDPRINTF(Args) |
| #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)) |
Typedefs | |
| typedef union YYSTYPE | YYSTYPE |
| typedef unsigned char | yytype_uint8 |
| typedef signed char | yytype_int8 |
| typedef unsigned short int | yytype_uint16 |
| typedef short int | yytype_int16 |
Enumerations | |
| enum | yytokentype { NUMBER = 258, ID = 259, NEG = 260, NOT = 261, NUMBER = 258, ID = 259, NEG = 260, NOT = 261, PE_START_EVENTS = 258, PE_START_TERMS = 259, PE_VALUE = 260, PE_VALUE_SYM_HW = 261, PE_VALUE_SYM_SW = 262, PE_RAW = 263, PE_TERM = 264, PE_EVENT_NAME = 265, PE_NAME = 266, PE_BPF_OBJECT = 267, PE_BPF_SOURCE = 268, PE_MODIFIER_EVENT = 269, PE_MODIFIER_BP = 270, PE_NAME_CACHE_TYPE = 271, PE_NAME_CACHE_OP_RESULT = 272, PE_PREFIX_MEM = 273, PE_PREFIX_RAW = 274, PE_PREFIX_GROUP = 275, PE_ERROR = 276, PE_PMU_EVENT_PRE = 277, PE_PMU_EVENT_SUF = 278, PE_KERNEL_PMU_EVENT = 279, PE_ARRAY_ALL = 280, PE_ARRAY_RANGE = 281, PE_DRV_CFG_TERM = 282, PP_CONFIG = 258, PP_CONFIG1 = 259, PP_CONFIG2 = 260, PP_VALUE = 261, PP_ERROR = 262, PP_CONFIG = 258, PP_CONFIG1 = 259, PP_CONFIG2 = 260, PP_VALUE = 261, PP_ERROR = 262 } |
Functions | |
| int | expr__parse (double *final_val, struct parse_ctx *ctx, const char **pp) |
| static int | expr__lex (YYSTYPE *res, const char **pp) |
| static void | expr__error (double *final_val __maybe_unused, struct parse_ctx *ctx __maybe_unused, const char **pp __maybe_unused, const char *s) |
| static int | lookup_id (struct parse_ctx *ctx, char *id, double *val) |
| void * | malloc (YYSIZE_T) |
| void | free (void *) |
| static void | yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, double *final_val, struct parse_ctx *ctx, const char **pp) |
| int | yyparse (double *final_val, struct parse_ctx *ctx, const char **pp) |
| static int | expr__symbol (YYSTYPE *res, const char *p, const char **pp) |
| void | expr__add_id (struct parse_ctx *ctx, const char *name, double val) |
| void | expr__ctx_init (struct parse_ctx *ctx) |
| int | expr__find_other (const char *p, const char *one, const char ***other, int *num_otherp) |
Variables | |
| static const yytype_uint8 | yytranslate [] |
| 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_int8 | yycheck [] |
| static const yytype_uint8 | yystos [] |
| static const yytype_uint8 | yyr1 [] |
| static const yytype_uint8 | yyr2 [] |
| #define _Noreturn YY_ATTRIBUTE ((__noreturn__)) |
Definition at line 254 of file expr-bison.c.
| #define IN_EXPR_Y 1 |
Definition at line 75 of file expr-bison.c.
| #define MAXIDLEN 256 |
Definition at line 79 of file expr-bison.c.
| #define YY_ | ( | Msgid | ) | Msgid |
Definition at line 227 of file expr-bison.c.
| #define YY_ATTRIBUTE | ( | Spec | ) | /* empty */ |
Definition at line 237 of file expr-bison.c.
| #define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) |
Definition at line 242 of file expr-bison.c.
| #define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) |
Definition at line 246 of file expr-bison.c.
| #define YY_EXPR_UTIL_EXPR_BISON_H_INCLUDED |
Definition at line 102 of file expr-bison.c.
| #define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 277 of file expr-bison.c.
| #define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 278 of file expr-bison.c.
| #define YY_INITIAL_VALUE | ( | Value | ) | Value |
Definition at line 274 of file expr-bison.c.
| #define YY_NULLPTR 0 |
Definition at line 87 of file expr-bison.c.
| #define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 746 of file expr-bison.c.
| #define YY_STACK_PRINT | ( | Bottom, | |
| Top | |||
| ) |
Definition at line 745 of file expr-bison.c.
| #define YY_SYMBOL_PRINT | ( | Title, | |
| Type, | |||
| Value, | |||
| Location | |||
| ) |
Definition at line 744 of file expr-bison.c.
| #define YYABORT goto yyabortlab |
Definition at line 588 of file expr-bison.c.
| #define YYACCEPT goto yyacceptlab |
Definition at line 587 of file expr-bison.c.
| #define YYBACKUP | ( | Token, | |
| Value | |||
| ) |
Definition at line 594 of file expr-bison.c.
| #define YYBISON 1 |
Definition at line 44 of file expr-bison.c.
| #define YYBISON_VERSION "3.0.4" |
Definition at line 47 of file expr-bison.c.
Definition at line 583 of file expr-bison.c.
| #define YYCOPY | ( | Dst, | |
| Src, | |||
| Count | |||
| ) |
Definition at line 401 of file expr-bison.c.
| #define YYCOPY_NEEDED 1 |
Definition at line 373 of file expr-bison.c.
| #define yydebug expr__debug |
Definition at line 66 of file expr-bison.c.
| #define YYDEBUG 0 |
Definition at line 105 of file expr-bison.c.
| #define YYDPRINTF | ( | Args | ) |
Definition at line 743 of file expr-bison.c.
| #define YYEMPTY (-2) |
Definition at line 584 of file expr-bison.c.
| #define YYEOF 0 |
Definition at line 585 of file expr-bison.c.
| #define YYERRCODE 256 |
Definition at line 613 of file expr-bison.c.
| #define yyerrok (yyerrstatus = 0) |
Definition at line 582 of file expr-bison.c.
| #define yyerror expr__error |
Definition at line 65 of file expr-bison.c.
| #define YYERROR goto yyerrorlab |
Definition at line 589 of file expr-bison.c.
| #define YYERROR_VERBOSE 0 |
Definition at line 96 of file expr-bison.c.
| #define YYFINAL 9 |
Definition at line 414 of file expr-bison.c.
| #define YYFREE free |
Definition at line 344 of file expr-bison.c.
| #define YYINITDEPTH 200 |
Definition at line 752 of file expr-bison.c.
| #define YYLAST 31 |
Definition at line 416 of file expr-bison.c.
| #define yylex expr__lex |
Definition at line 64 of file expr-bison.c.
| #define YYMALLOC malloc |
Definition at line 338 of file expr-bison.c.
| #define YYMAXDEPTH 10000 |
Definition at line 763 of file expr-bison.c.
| #define YYMAXUTOK 261 |
Definition at line 430 of file expr-bison.c.
| #define yynerrs expr__nerrs |
Definition at line 67 of file expr-bison.c.
| #define YYNNTS 3 |
Definition at line 421 of file expr-bison.c.
| #define YYNRULES 11 |
Definition at line 423 of file expr-bison.c.
| #define YYNSTATES 21 |
Definition at line 425 of file expr-bison.c.
| #define YYNTOKENS 17 |
Definition at line 419 of file expr-bison.c.
| #define YYPACT_NINF -9 |
Definition at line 498 of file expr-bison.c.
| #define yypact_value_is_default | ( | Yystate | ) | (!!((Yystate) == (-9))) |
Definition at line 500 of file expr-bison.c.
| #define yyparse expr__parse |
Definition at line 63 of file expr-bison.c.
| #define YYPOPSTACK | ( | N | ) | (yyvsp -= (N), yyssp -= (N)) |
| #define YYPULL 1 |
Definition at line 59 of file expr-bison.c.
| #define YYPURE 1 |
Definition at line 53 of file expr-bison.c.
| #define YYPUSH 0 |
Definition at line 56 of file expr-bison.c.
| #define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 592 of file expr-bison.c.
| #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
Definition at line 217 of file expr-bison.c.
| #define YYSIZE_T size_t |
Definition at line 211 of file expr-bison.c.
| #define YYSKELETON_NAME "yacc.c" |
Definition at line 50 of file expr-bison.c.
| #define YYSTACK_ALLOC YYMALLOC |
Definition at line 324 of file expr-bison.c.
| #define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 327 of file expr-bison.c.
| #define YYSTACK_BYTES | ( | N | ) |
Definition at line 369 of file expr-bison.c.
| #define YYSTACK_FREE YYFREE |
Definition at line 325 of file expr-bison.c.
| #define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
Definition at line 365 of file expr-bison.c.
| #define YYSTACK_RELOCATE | ( | Stack_alloc, | |
| Stack | |||
| ) |
Definition at line 380 of file expr-bison.c.
| #define YYSTYPE_IS_DECLARED 1 |
Definition at line 138 of file expr-bison.c.
| #define YYSTYPE_IS_TRIVIAL 1 |
Definition at line 137 of file expr-bison.c.
| #define YYTABLE_NINF -1 |
Definition at line 503 of file expr-bison.c.
| #define yytable_value_is_error | ( | Yytable_value | ) | 0 |
Definition at line 505 of file expr-bison.c.
| #define YYTERROR 1 |
Definition at line 612 of file expr-bison.c.
| #define YYTOKENTYPE |
Definition at line 113 of file expr-bison.c.
| #define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
Definition at line 432 of file expr-bison.c.
| #define YYUNDEFTOK 2 |
Definition at line 429 of file expr-bison.c.
Definition at line 260 of file expr-bison.c.
Definition at line 136 of file expr-bison.c.
| typedef short int yytype_int16 |
Definition at line 201 of file expr-bison.c.
| typedef signed char yytype_int8 |
Definition at line 189 of file expr-bison.c.
| typedef unsigned short int yytype_uint16 |
Definition at line 195 of file expr-bison.c.
| typedef unsigned char yytype_uint8 |
Definition at line 183 of file expr-bison.c.
| enum yytokentype |
Definition at line 114 of file expr-bison.c.
| void expr__add_id | ( | struct parse_ctx * | ctx, |
| const char * | name, | ||
| double | val | ||
| ) |
Definition at line 1595 of file expr-bison.c.
| void expr__ctx_init | ( | struct parse_ctx * | ctx | ) |
Definition at line 1604 of file expr-bison.c.
|
static |
Definition at line 152 of file expr-bison.c.
| int expr__find_other | ( | const char * | p, |
| const char * | one, | ||
| const char *** | other, | ||
| int * | num_otherp | ||
| ) |
|
static |
| int expr__parse | ( | double * | final_val, |
| struct parse_ctx * | ctx, | ||
| const char ** | pp | ||
| ) |
|
static |
Definition at line 1554 of file expr-bison.c.
| void free | ( | void * | ) |
|
static |
Definition at line 160 of file expr-bison.c.
| void* malloc | ( | YYSIZE_T | ) |
|
static |
Definition at line 994 of file expr-bison.c.
| int yyparse | ( | double * | final_val, |
| struct parse_ctx * | ctx, | ||
| const char ** | pp | ||
| ) |
|
static |
Definition at line 550 of file expr-bison.c.
|
static |
Definition at line 520 of file expr-bison.c.
|
static |
Definition at line 534 of file expr-bison.c.
|
static |
Definition at line 510 of file expr-bison.c.
|
static |
Definition at line 528 of file expr-bison.c.
|
static |
Definition at line 568 of file expr-bison.c.
|
static |
Definition at line 575 of file expr-bison.c.
|
static |
Definition at line 560 of file expr-bison.c.
|
static |
Definition at line 542 of file expr-bison.c.
|
static |
Definition at line 437 of file expr-bison.c.