|
Linux Perf
|
#include <linux/compiler.h>#include <linux/list.h>#include <linux/bitmap.h>#include <string.h>#include "pmu.h"#include <stddef.h>
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 0 |
| #define | YYPUSH 0 |
| #define | YYPULL 1 |
| #define | yyparse perf_pmu_parse |
| #define | yylex perf_pmu_lex |
| #define | yyerror perf_pmu_error |
| #define | yydebug perf_pmu_debug |
| #define | yynerrs perf_pmu_nerrs |
| #define | yylval perf_pmu_lval |
| #define | yychar perf_pmu_char |
| #define | ABORT_ON(val) |
| #define | YY_NULLPTR 0 |
| #define | YYERROR_VERBOSE 0 |
| #define | YY_PERF_PMU_UTIL_PMU_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 17 |
| #define | YYNTOKENS 11 |
| #define | YYNNTS 5 |
| #define | YYNRULES 10 |
| #define | YYNSTATES 20 |
| #define | YYUNDEFTOK 2 |
| #define | YYMAXUTOK 262 |
| #define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
| #define | YYPACT_NINF -7 |
| #define | yypact_value_is_default(Yystate) (!!((Yystate) == (-7))) |
| #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 | perf_pmu_lex (void) |
| int | perf_pmu_parse (struct list_head *format, char *name) |
| void * | malloc (YYSIZE_T) |
| void | free (void *) |
| static void | yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, struct list_head *format, char *name) |
| int | yyparse (struct list_head *format, char *name) |
| void | perf_pmu_error (struct list_head *list __maybe_unused, char *name __maybe_unused, char const *msg __maybe_unused) |
Variables | |
| YYSTYPE | perf_pmu_lval |
| 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_uint8 | yycheck [] |
| static const yytype_uint8 | yystos [] |
| static const yytype_uint8 | yyr1 [] |
| static const yytype_uint8 | yyr2 [] |
| int | yychar |
| YYSTYPE | yylval |
| int | yynerrs |
| #define _Noreturn YY_ATTRIBUTE ((__noreturn__)) |
Definition at line 241 of file pmu-bison.c.
| #define ABORT_ON | ( | val | ) |
Definition at line 84 of file pmu-bison.c.
| #define YY_ | ( | Msgid | ) | Msgid |
Definition at line 214 of file pmu-bison.c.
| #define YY_ATTRIBUTE | ( | Spec | ) | /* empty */ |
Definition at line 224 of file pmu-bison.c.
| #define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) |
Definition at line 229 of file pmu-bison.c.
| #define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) |
Definition at line 233 of file pmu-bison.c.
| #define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 264 of file pmu-bison.c.
| #define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 265 of file pmu-bison.c.
| #define YY_INITIAL_VALUE | ( | Value | ) | Value |
Definition at line 261 of file pmu-bison.c.
| #define YY_NULLPTR 0 |
Definition at line 97 of file pmu-bison.c.
| #define YY_PERF_PMU_UTIL_PMU_BISON_H_INCLUDED |
Definition at line 112 of file pmu-bison.c.
| #define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 725 of file pmu-bison.c.
| #define YY_STACK_PRINT | ( | Bottom, | |
| Top | |||
| ) |
Definition at line 724 of file pmu-bison.c.
| #define YY_SYMBOL_PRINT | ( | Title, | |
| Type, | |||
| Value, | |||
| Location | |||
| ) |
Definition at line 723 of file pmu-bison.c.
| #define YYABORT goto yyabortlab |
Definition at line 568 of file pmu-bison.c.
| #define YYACCEPT goto yyacceptlab |
Definition at line 567 of file pmu-bison.c.
| #define YYBACKUP | ( | Token, | |
| Value | |||
| ) |
Definition at line 574 of file pmu-bison.c.
| #define YYBISON 1 |
Definition at line 44 of file pmu-bison.c.
| #define YYBISON_VERSION "3.0.4" |
Definition at line 47 of file pmu-bison.c.
| #define yychar perf_pmu_char |
Definition at line 70 of file pmu-bison.c.
Definition at line 563 of file pmu-bison.c.
| #define YYCOPY | ( | Dst, | |
| Src, | |||
| Count | |||
| ) |
Definition at line 388 of file pmu-bison.c.
| #define YYCOPY_NEEDED 1 |
Definition at line 360 of file pmu-bison.c.
| #define yydebug perf_pmu_debug |
Definition at line 66 of file pmu-bison.c.
| #define YYDEBUG 0 |
Definition at line 115 of file pmu-bison.c.
| #define YYDPRINTF | ( | Args | ) |
Definition at line 722 of file pmu-bison.c.
| #define YYEMPTY (-2) |
Definition at line 564 of file pmu-bison.c.
| #define YYEOF 0 |
Definition at line 565 of file pmu-bison.c.
| #define YYERRCODE 256 |
Definition at line 593 of file pmu-bison.c.
| #define yyerrok (yyerrstatus = 0) |
Definition at line 562 of file pmu-bison.c.
| #define yyerror perf_pmu_error |
Definition at line 65 of file pmu-bison.c.
| #define YYERROR goto yyerrorlab |
Definition at line 569 of file pmu-bison.c.
| #define YYERROR_VERBOSE 0 |
Definition at line 106 of file pmu-bison.c.
| #define YYFINAL 9 |
Definition at line 401 of file pmu-bison.c.
| #define YYFREE free |
Definition at line 331 of file pmu-bison.c.
| #define YYINITDEPTH 200 |
Definition at line 731 of file pmu-bison.c.
| #define YYLAST 17 |
Definition at line 403 of file pmu-bison.c.
| #define yylex perf_pmu_lex |
Definition at line 64 of file pmu-bison.c.
| #define yylval perf_pmu_lval |
Definition at line 69 of file pmu-bison.c.
| #define YYMALLOC malloc |
Definition at line 325 of file pmu-bison.c.
| #define YYMAXDEPTH 10000 |
Definition at line 742 of file pmu-bison.c.
| #define YYMAXUTOK 262 |
Definition at line 417 of file pmu-bison.c.
| #define yynerrs perf_pmu_nerrs |
Definition at line 67 of file pmu-bison.c.
| #define YYNNTS 5 |
Definition at line 408 of file pmu-bison.c.
| #define YYNRULES 10 |
Definition at line 410 of file pmu-bison.c.
| #define YYNSTATES 20 |
Definition at line 412 of file pmu-bison.c.
| #define YYNTOKENS 11 |
Definition at line 406 of file pmu-bison.c.
| #define YYPACT_NINF -7 |
Definition at line 485 of file pmu-bison.c.
| #define yypact_value_is_default | ( | Yystate | ) | (!!((Yystate) == (-7))) |
Definition at line 487 of file pmu-bison.c.
| #define yyparse perf_pmu_parse |
Definition at line 63 of file pmu-bison.c.
| #define YYPOPSTACK | ( | N | ) | (yyvsp -= (N), yyssp -= (N)) |
| #define YYPULL 1 |
Definition at line 59 of file pmu-bison.c.
| #define YYPURE 0 |
Definition at line 53 of file pmu-bison.c.
| #define YYPUSH 0 |
Definition at line 56 of file pmu-bison.c.
| #define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 572 of file pmu-bison.c.
| #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
Definition at line 204 of file pmu-bison.c.
| #define YYSIZE_T size_t |
Definition at line 198 of file pmu-bison.c.
| #define YYSKELETON_NAME "yacc.c" |
Definition at line 50 of file pmu-bison.c.
| #define YYSTACK_ALLOC YYMALLOC |
Definition at line 311 of file pmu-bison.c.
| #define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 314 of file pmu-bison.c.
| #define YYSTACK_BYTES | ( | N | ) |
Definition at line 356 of file pmu-bison.c.
| #define YYSTACK_FREE YYFREE |
Definition at line 312 of file pmu-bison.c.
| #define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
Definition at line 352 of file pmu-bison.c.
| #define YYSTACK_RELOCATE | ( | Stack_alloc, | |
| Stack | |||
| ) |
Definition at line 367 of file pmu-bison.c.
| #define YYSTYPE_IS_DECLARED 1 |
Definition at line 149 of file pmu-bison.c.
| #define YYSTYPE_IS_TRIVIAL 1 |
Definition at line 148 of file pmu-bison.c.
| #define YYTABLE_NINF -1 |
Definition at line 490 of file pmu-bison.c.
| #define yytable_value_is_error | ( | Yytable_value | ) | 0 |
Definition at line 492 of file pmu-bison.c.
| #define YYTERROR 1 |
Definition at line 592 of file pmu-bison.c.
| #define YYTOKENTYPE |
Definition at line 123 of file pmu-bison.c.
| #define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
Definition at line 419 of file pmu-bison.c.
| #define YYUNDEFTOK 2 |
Definition at line 416 of file pmu-bison.c.
Definition at line 247 of file pmu-bison.c.
Definition at line 147 of file pmu-bison.c.
| typedef short int yytype_int16 |
Definition at line 188 of file pmu-bison.c.
| typedef signed char yytype_int8 |
Definition at line 176 of file pmu-bison.c.
| typedef unsigned short int yytype_uint16 |
Definition at line 182 of file pmu-bison.c.
| typedef unsigned char yytype_uint8 |
Definition at line 170 of file pmu-bison.c.
| enum yytokentype |
Definition at line 124 of file pmu-bison.c.
| void free | ( | void * | ) |
| void* malloc | ( | YYSIZE_T | ) |
| void perf_pmu_error | ( | struct list_head *list | __maybe_unused, |
| char *name | __maybe_unused, | ||
| char const *msg | __maybe_unused | ||
| ) |
Definition at line 1532 of file pmu-bison.c.
| int perf_pmu_lex | ( | void | ) |
| int perf_pmu_parse | ( | struct list_head * | format, |
| char * | name | ||
| ) |
|
static |
Definition at line 973 of file pmu-bison.c.
| int yyparse | ( | struct list_head * | format, |
| char * | name | ||
| ) |
| YYSTYPE perf_pmu_lval |
| int yychar |
Definition at line 991 of file pmu-bison.c.
|
static |
Definition at line 533 of file pmu-bison.c.
|
static |
Definition at line 506 of file pmu-bison.c.
|
static |
Definition at line 519 of file pmu-bison.c.
| YYSTYPE yylval |
Definition at line 994 of file pmu-bison.c.
| int yynerrs |
Definition at line 996 of file pmu-bison.c.
|
static |
Definition at line 497 of file pmu-bison.c.
|
static |
Definition at line 513 of file pmu-bison.c.
|
static |
Definition at line 548 of file pmu-bison.c.
|
static |
Definition at line 555 of file pmu-bison.c.
|
static |
Definition at line 541 of file pmu-bison.c.
|
static |
Definition at line 527 of file pmu-bison.c.
|
static |
Definition at line 424 of file pmu-bison.c.