Linux Perf
parse-events-bison.c File Reference
#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>
Include dependency graph for parse-events-bison.c:

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
 

Macro Definition Documentation

◆ _Noreturn

#define _Noreturn   YY_ATTRIBUTE ((__noreturn__))

Definition at line 299 of file parse-events-bison.c.

◆ ABORT_ON

#define ABORT_ON (   val)
Value:
do { \
if (val) \
YYABORT; \
} while (0)

Definition at line 87 of file parse-events-bison.c.

◆ ALLOC_LIST

#define ALLOC_LIST (   list)
Value:
do { \
list = malloc(sizeof(*list)); \
ABORT_ON(!list); \
INIT_LIST_HEAD(list); \
} while (0)
void * malloc(YYSIZE_T)

Definition at line 93 of file parse-events-bison.c.

◆ YY_

#define YY_ (   Msgid)    Msgid

Definition at line 272 of file parse-events-bison.c.

◆ YY_ATTRIBUTE

#define YY_ATTRIBUTE (   Spec)    /* empty */

Definition at line 282 of file parse-events-bison.c.

◆ YY_ATTRIBUTE_PURE

#define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))

Definition at line 287 of file parse-events-bison.c.

◆ YY_ATTRIBUTE_UNUSED

#define YY_ATTRIBUTE_UNUSED   YY_ATTRIBUTE ((__unused__))

Definition at line 291 of file parse-events-bison.c.

◆ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

Definition at line 322 of file parse-events-bison.c.

◆ YY_IGNORE_MAYBE_UNINITIALIZED_END

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

Definition at line 323 of file parse-events-bison.c.

◆ YY_INITIAL_VALUE

#define YY_INITIAL_VALUE (   Value)    Value

Definition at line 319 of file parse-events-bison.c.

◆ YY_LOCATION_PRINT

#define YY_LOCATION_PRINT (   File,
  Loc 
)    yy_location_print_ (File, &(Loc))

Definition at line 831 of file parse-events-bison.c.

◆ YY_NULLPTR

#define YY_NULLPTR   0

Definition at line 115 of file parse-events-bison.c.

◆ YY_REDUCE_PRINT

#define YY_REDUCE_PRINT (   Rule)
Value:
do { \
if (yydebug) \
yy_reduce_print (yyssp, yyvsp, yylsp, Rule, _data, scanner); \
} while (0)
#define yydebug

Definition at line 938 of file parse-events-bison.c.

◆ YY_STACK_PRINT

#define YY_STACK_PRINT (   Bottom,
  Top 
)
Value:
do { \
if (yydebug) \
yy_stack_print ((Bottom), (Top)); \
} while (0)
#define yydebug

Definition at line 907 of file parse-events-bison.c.

◆ YY_SYMBOL_PRINT

#define YY_SYMBOL_PRINT (   Title,
  Type,
  Value,
  Location 
)
Value:
do { \
if (yydebug) \
{ \
YYFPRINTF (stderr, "%s ", Title); \
yy_symbol_print (stderr, \
Type, Value, Location, _data, scanner); \
YYFPRINTF (stderr, "\n"); \
} \
} while (0)
#define yydebug

Definition at line 840 of file parse-events-bison.c.

◆ YYABORT

#define YYABORT   goto yyabortlab

Definition at line 726 of file parse-events-bison.c.

◆ YYACCEPT

#define YYACCEPT   goto yyacceptlab

Definition at line 725 of file parse-events-bison.c.

◆ YYBACKUP

#define YYBACKUP (   Token,
  Value 
)
Value:
{ \
yychar = (Token); \
yylval = (Value); \
YYPOPSTACK (yylen); \
yystate = *yyssp; \
goto yybackup; \
} \
else \
{ \
yyerror (&yylloc, _data, scanner, YY_("syntax error: cannot back up")); \
YYERROR; \
} \
while (0)
#define YY_(Msgid)
int yychar
Definition: pmu-bison.c:991
if(!yyg->yy_init)
#define YYEMPTY

Definition at line 732 of file parse-events-bison.c.

◆ YYBISON

#define YYBISON   1

Definition at line 44 of file parse-events-bison.c.

◆ YYBISON_VERSION

#define YYBISON_VERSION   "3.0.4"

Definition at line 47 of file parse-events-bison.c.

◆ yyclearin

#define yyclearin   (yychar = YYEMPTY)

Definition at line 721 of file parse-events-bison.c.

◆ YYCOPY

#define YYCOPY (   Dst,
  Src,
  Count 
)
Value:
do \
{ \
YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(Dst)[yyi] = (Src)[yyi]; \
} \
while (0)

Definition at line 448 of file parse-events-bison.c.

◆ YYCOPY_NEEDED

#define YYCOPY_NEEDED   1

Definition at line 420 of file parse-events-bison.c.

◆ yydebug

#define yydebug   parse_events_debug

Definition at line 66 of file parse-events-bison.c.

◆ YYDEBUG

#define YYDEBUG   1

Definition at line 74 of file parse-events-bison.c.

◆ YYDPRINTF

#define YYDPRINTF (   Args)
Value:
do { \
if (yydebug) \
YYFPRINTF Args; \
} while (0)
#define yydebug

Definition at line 789 of file parse-events-bison.c.

◆ YYEMPTY

#define YYEMPTY   (-2)

Definition at line 722 of file parse-events-bison.c.

◆ YYEOF

#define YYEOF   0

Definition at line 723 of file parse-events-bison.c.

◆ YYERRCODE

#define YYERRCODE   256

Definition at line 751 of file parse-events-bison.c.

◆ yyerrok

#define yyerrok   (yyerrstatus = 0)

Definition at line 720 of file parse-events-bison.c.

◆ yyerror

#define yyerror   parse_events_error

Definition at line 65 of file parse-events-bison.c.

◆ YYERROR

#define YYERROR   goto yyerrorlab

Definition at line 727 of file parse-events-bison.c.

◆ YYERROR_VERBOSE

#define YYERROR_VERBOSE   0

Definition at line 124 of file parse-events-bison.c.

◆ YYFINAL

#define YYFINAL   42

Definition at line 461 of file parse-events-bison.c.

◆ YYFPRINTF

#define YYFPRINTF   fprintf

Definition at line 786 of file parse-events-bison.c.

◆ YYFREE

#define YYFREE   free

Definition at line 389 of file parse-events-bison.c.

◆ YYINITDEPTH

#define YYINITDEPTH   200

Definition at line 957 of file parse-events-bison.c.

◆ YYLAST

#define YYLAST   137

Definition at line 463 of file parse-events-bison.c.

◆ yylex

#define yylex   parse_events_lex

Definition at line 64 of file parse-events-bison.c.

◆ YYLLOC_DEFAULT

#define YYLLOC_DEFAULT (   Current,
  Rhs,
 
)
Value:
if (N) \
{ \
(Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
(Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
(Current).last_line = YYRHSLOC (Rhs, N).last_line; \
(Current).last_column = YYRHSLOC (Rhs, N).last_column; \
} \
else \
{ \
(Current).first_line = (Current).last_line = \
YYRHSLOC (Rhs, 0).last_line; \
(Current).first_column = (Current).last_column = \
YYRHSLOC (Rhs, 0).last_column; \
} \
while (0)
#define YYRHSLOC(Rhs, K)
if(!yyg->yy_init)

Definition at line 759 of file parse-events-bison.c.

◆ YYMALLOC

#define YYMALLOC   malloc

Definition at line 383 of file parse-events-bison.c.

◆ YYMAXDEPTH

#define YYMAXDEPTH   10000

Definition at line 968 of file parse-events-bison.c.

◆ YYMAXUTOK

#define YYMAXUTOK   282

Definition at line 477 of file parse-events-bison.c.

◆ yynerrs

#define yynerrs   parse_events_nerrs

Definition at line 67 of file parse-events-bison.c.

◆ YYNNTS

#define YYNNTS   30

Definition at line 468 of file parse-events-bison.c.

◆ YYNRULES

#define YYNRULES   76

Definition at line 470 of file parse-events-bison.c.

◆ YYNSTATES

#define YYNSTATES   132

Definition at line 472 of file parse-events-bison.c.

◆ YYNTOKENS

#define YYNTOKENS   37

Definition at line 466 of file parse-events-bison.c.

◆ YYPACT_NINF

#define YYPACT_NINF   -32

Definition at line 567 of file parse-events-bison.c.

◆ yypact_value_is_default

#define yypact_value_is_default (   Yystate)    (!!((Yystate) == (-32)))

Definition at line 569 of file parse-events-bison.c.

◆ yyparse

#define yyparse   parse_events_parse

Definition at line 63 of file parse-events-bison.c.

◆ YYPOPSTACK

#define YYPOPSTACK (   N)    (yyvsp -= (N), yyssp -= (N), yylsp -= (N))

◆ YYPULL

#define YYPULL   1

Definition at line 59 of file parse-events-bison.c.

◆ YYPURE

#define YYPURE   1

Definition at line 53 of file parse-events-bison.c.

◆ YYPUSH

#define YYPUSH   0

Definition at line 56 of file parse-events-bison.c.

◆ YYRECOVERING

#define YYRECOVERING ( )    (!!yyerrstatus)

Definition at line 730 of file parse-events-bison.c.

◆ YYRHSLOC

#define YYRHSLOC (   Rhs,
  K 
)    ((Rhs)[K])

Definition at line 778 of file parse-events-bison.c.

◆ YYSIZE_MAXIMUM

#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)

Definition at line 262 of file parse-events-bison.c.

◆ YYSIZE_T

#define YYSIZE_T   size_t

Definition at line 256 of file parse-events-bison.c.

◆ YYSKELETON_NAME

#define YYSKELETON_NAME   "yacc.c"

Definition at line 50 of file parse-events-bison.c.

◆ YYSTACK_ALLOC

#define YYSTACK_ALLOC   YYMALLOC

Definition at line 369 of file parse-events-bison.c.

◆ YYSTACK_ALLOC_MAXIMUM

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

Definition at line 372 of file parse-events-bison.c.

◆ YYSTACK_BYTES

#define YYSTACK_BYTES (   N)
Value:
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \
#define YYSTACK_GAP_MAXIMUM
union YYSTYPE YYSTYPE
Definition: expr-bison.c:136
short int yytype_int16
Definition: expr-bison.c:201

Definition at line 416 of file parse-events-bison.c.

◆ YYSTACK_FREE

#define YYSTACK_FREE   YYFREE

Definition at line 370 of file parse-events-bison.c.

◆ YYSTACK_GAP_MAXIMUM

#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)

Definition at line 412 of file parse-events-bison.c.

◆ YYSTACK_RELOCATE

#define YYSTACK_RELOCATE (   Stack_alloc,
  Stack 
)
Value:
do \
{ \
YYSIZE_T yynewbytes; \
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
Stack = &yyptr->Stack_alloc; \
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
while (0)
#define YYSTACK_GAP_MAXIMUM

Definition at line 427 of file parse-events-bison.c.

◆ YYTABLE_NINF

#define YYTABLE_NINF   -1

Definition at line 572 of file parse-events-bison.c.

◆ yytable_value_is_error

#define yytable_value_is_error (   Yytable_value)    0

Definition at line 574 of file parse-events-bison.c.

◆ YYTERROR

#define YYTERROR   1

Definition at line 750 of file parse-events-bison.c.

◆ YYTRANSLATE

#define YYTRANSLATE (   YYX)    ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)

Definition at line 479 of file parse-events-bison.c.

◆ YYUNDEFTOK

#define YYUNDEFTOK   2

Definition at line 476 of file parse-events-bison.c.

◆ YYUSE

#define YYUSE (   E)    ((void) (E))

Definition at line 305 of file parse-events-bison.c.

Typedef Documentation

◆ yytype_int16

typedef short int yytype_int16

Definition at line 246 of file parse-events-bison.c.

◆ yytype_int8

typedef signed char yytype_int8

Definition at line 234 of file parse-events-bison.c.

◆ yytype_uint16

typedef unsigned short int yytype_uint16

Definition at line 240 of file parse-events-bison.c.

◆ yytype_uint8

typedef unsigned char yytype_uint8

Definition at line 228 of file parse-events-bison.c.

Function Documentation

◆ free()

void free ( void *  )

◆ inc_group_count()

static void inc_group_count ( struct list_head *  list,
struct parse_events_evlist *  data 
)
static

Definition at line 100 of file parse-events-bison.c.

◆ malloc()

void* malloc ( YYSIZE_T  )

◆ parse_events_error() [1/2]

void parse_events_error ( YYLTYPE loc,
void *  data,
void *  scanner,
char const *  msg 
)

◆ parse_events_error() [2/2]

void parse_events_error ( YYLTYPE loc,
void *  data,
void *scanner  __maybe_unused,
char const *msg  __maybe_unused 
)

Definition at line 2400 of file parse-events-bison.c.

Here is the call graph for this function:

◆ yy_location_print_()

static YY_ATTRIBUTE_UNUSED unsigned yy_location_print_ ( FILE *  yyo,
YYLTYPE const *const  yylocp 
)
static

Definition at line 807 of file parse-events-bison.c.

◆ yy_reduce_print()

static void yy_reduce_print ( yytype_int16 yyssp,
YYSTYPE yyvsp,
YYLTYPE yylsp,
int  yyrule,
void *  _data,
void *  scanner 
)
static

Definition at line 919 of file parse-events-bison.c.

Here is the call graph for this function:

◆ yy_stack_print()

static void yy_stack_print ( yytype_int16 yybottom,
yytype_int16 yytop 
)
static

Definition at line 896 of file parse-events-bison.c.

◆ yy_symbol_print()

static void yy_symbol_print ( FILE *  yyoutput,
int  yytype,
YYSTYPE const *const  yyvaluep,
YYLTYPE const *const  yylocationp,
void *  _data,
void *  scanner 
)
static

Definition at line 879 of file parse-events-bison.c.

Here is the call graph for this function:

◆ yy_symbol_value_print()

static void yy_symbol_value_print ( FILE *  yyoutput,
int  yytype,
YYSTYPE const *const  yyvaluep,
YYLTYPE const *const  yylocationp,
void *  _data,
void *  scanner 
)
static

Definition at line 857 of file parse-events-bison.c.

◆ yydestruct()

static void yydestruct ( const char *  yymsg,
int  yytype,
YYSTYPE yyvaluep,
YYLTYPE yylocationp,
void *  _data,
void *  scanner 
)
static

Definition at line 1199 of file parse-events-bison.c.

◆ yyparse()

int yyparse ( void *  _data,
void *  scanner 
)

Definition at line 1222 of file parse-events-bison.c.

Here is the call graph for this function:

Variable Documentation

◆ yycheck

const yytype_int16 yycheck[]
static
Initial value:
=
{
7, 3, 4, 10, 11, 12, 28, 1, 30, 6,
32, 33, 9, 44, 11, 29, 30, 0, 32, 33,
5, 6, 7, 8, 31, 10, 11, 12, 13, 29,
27, 16, 28, 18, 56, 66, 33, 22, 6, 24,
36, 9, 33, 11, 5, 30, 28, 5, 6, 7,
8, 33, 10, 11, 12, 13, 5, 6, 16, 27,
18, 25, 11, 5, 22, 32, 24, 89, 62, 11,
34, 35, 79, 5, 28, 28, 28, 31, 85, 11,
33, 5, 6, 7, 8, 32, 33, 11, 12, 13,
112, 113, 16, 29, 18, 29, 90, 33, 22, 29,
24, 29, 32, 33, 29, 33, 28, 14, 130, 31,
28, 32, 33, 5, 34, 11, 123, 11, 17, 23,
5, 14, 34, 29, 15, 5, 26, 11, 17, 5,
49, 29, 15, 62, 8, 78, -1, 118
}

Definition at line 655 of file parse-events-bison.c.

◆ yydebug

int yydebug

Definition at line 946 of file parse-events-bison.c.

◆ yydefact

const yytype_uint8 yydefact[]
static
Initial value:
=
{
0, 0, 0, 0, 0, 31, 32, 51, 0, 51,
51, 51, 51, 0, 0, 73, 0, 2, 4, 7,
10, 8, 15, 17, 19, 20, 76, 21, 73, 23,
73, 51, 73, 73, 27, 59, 62, 58, 65, 3,
52, 54, 1, 0, 0, 46, 51, 18, 0, 0,
0, 28, 47, 48, 0, 37, 73, 0, 72, 29,
0, 14, 0, 0, 16, 75, 74, 34, 22, 24,
42, 25, 26, 0, 67, 0, 0, 0, 0, 51,
50, 0, 44, 0, 0, 51, 72, 0, 41, 73,
0, 12, 5, 6, 9, 0, 61, 60, 56, 57,
55, 70, 0, 69, 0, 53, 45, 49, 11, 0,
0, 36, 73, 73, 30, 13, 33, 0, 0, 66,
64, 63, 43, 51, 40, 72, 39, 71, 68, 35,
73, 38
}

Definition at line 600 of file parse-events-bison.c.

◆ yydefgoto

const yytype_int8 yydefgoto[]
static
Initial value:
=
{
-1, 3, 17, 18, 19, 20, 60, 61, 22, 23,
24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
34, 51, 39, 40, 41, 77, 102, 103, 59, 67
}

Definition at line 627 of file parse-events-bison.c.

◆ yypact

const yytype_int8 yypact[]
static
Initial value:
=
{
-2, 15, 32, 17, 0, -32, -32, 9, 76, -14,
9, 9, 53, 39, 33, 66, 42, -32, 48, -32,
75, -32, -32, 93, -32, -32, 64, -32, 66, -32,
66, 9, 66, 66, -32, -32, 80, 36, -32, -32,
82, -32, -32, 108, 3, -32, 70, -32, 104, 42,
106, -32, -32, -32, 101, -32, 72, 96, -32, -32,
46, -32, 15, 107, -32, -32, 32, -32, -32, -32,
-32, -32, -32, 58, -32, 51, 115, 88, 32, 9,
-32, 18, -32, 78, 94, 79, 109, 120, -32, 66,
42, -32, -32, -32, -32, 47, -32, -32, -32, -32,
-32, 100, 4, -32, 68, -32, -32, -32, -32, 116,
111, -32, 66, 102, -32, -32, -32, 124, 115, -32,
-32, -32, -32, 9, -32, 117, -32, -32, -32, -32,
66, -32
}

Definition at line 579 of file parse-events-bison.c.

◆ yypgoto

const yytype_int8 yypgoto[]
static
Initial value:
=
{
-32, -32, -32, -32, 71, -32, 81, 6, -32, -32,
126, -32, -32, -32, -32, -32, -32, -32, -32, -32,
-32, -7, -32, -31, 57, -32, -32, 19, -22, -32
}

Definition at line 619 of file parse-events-bison.c.

◆ yyr1

const yytype_uint8 yyr1[]
static
Initial value:
=
{
0, 37, 38, 38, 39, 40, 40, 40, 40, 41,
41, 42, 42, 43, 43, 44, 45, 45, 46, 46,
47, 47, 47, 47, 47, 47, 47, 47, 48, 48,
48, 49, 49, 50, 50, 51, 51, 51, 52, 52,
52, 52, 53, 54, 54, 55, 56, 57, 57, 58,
58, 58, 59, 60, 60, 61, 61, 61, 61, 61,
61, 61, 61, 61, 61, 61, 62, 62, 63, 63,
64, 64, 65, 65, 66, 66, 66
}

Definition at line 694 of file parse-events-bison.c.

◆ yyr2

const yytype_uint8 yyr2[]
static
Initial value:
=
{
0, 2, 2, 2, 1, 3, 3, 1, 1, 3,
1, 4, 3, 3, 1, 1, 2, 1, 2, 1,
1, 1, 2, 1, 2, 2, 2, 1, 2, 2,
4, 1, 1, 4, 2, 6, 4, 2, 7, 5,
5, 3, 2, 5, 3, 4, 2, 2, 2, 3,
2, 0, 1, 3, 1, 3, 3, 3, 1, 1,
3, 3, 1, 4, 4, 1, 3, 1, 3, 1,
1, 3, 1, 0, 1, 1, 0
}

Definition at line 707 of file parse-events-bison.c.

◆ yyrline

const yytype_uint16 yyrline[]
static
Initial value:
=
{
0, 112, 112, 114, 116, 124, 133, 142, 144, 147,
155, 158, 167, 177, 186, 188, 191, 204, 207, 214,
216, 217, 218, 219, 220, 221, 222, 223, 226, 261,
270, 282, 284, 287, 300, 313, 325, 337, 350, 361,
372, 383, 395, 413, 425, 433, 445, 457, 469, 481,
486, 491, 495, 502, 512, 524, 533, 542, 551, 560,
569, 577, 585, 593, 605, 615, 625, 630, 637, 654,
657, 669, 682, 682, 684, 684, 684
}

Definition at line 519 of file parse-events-bison.c.

◆ yystos

const yytype_uint8 yystos[]
static
Initial value:
=
{
0, 3, 4, 38, 5, 6, 7, 8, 10, 11,
12, 13, 16, 18, 22, 24, 30, 39, 40, 41,
42, 44, 45, 46, 47, 48, 49, 50, 51, 52,
53, 54, 55, 56, 57, 6, 9, 11, 27, 59,
60, 61, 0, 29, 33, 58, 11, 47, 29, 30,
32, 58, 58, 58, 32, 58, 5, 32, 29, 65,
43, 44, 28, 29, 14, 29, 33, 66, 65, 65,
58, 65, 65, 34, 25, 34, 35, 62, 28, 5,
33, 60, 11, 43, 11, 17, 29, 33, 65, 23,
28, 31, 41, 44, 14, 60, 5, 11, 5, 6,
11, 5, 63, 64, 34, 61, 58, 33, 31, 29,
32, 58, 15, 5, 65, 44, 33, 26, 28, 36,
5, 11, 11, 17, 65, 29, 65, 5, 64, 58,
15, 65
}

Definition at line 675 of file parse-events-bison.c.

◆ yytable

const yytype_uint8 yytable[]
static
Initial value:
=
{
45, 1, 2, 52, 53, 55, 68, 21, 69, 35,
71, 72, 36, 81, 37, 48, 49, 42, 50, 44,
4, 5, 6, 7, 70, 8, 9, 10, 11, 43,
38, 12, 118, 13, 88, 95, 80, 14, 35, 15,
119, 36, 44, 37, 56, 16, 78, 4, 5, 6,
7, 107, 8, 46, 10, 11, 98, 99, 12, 38,
13, 74, 100, 96, 14, 57, 15, 114, 93, 97,
75, 76, 106, 120, 90, 78, 62, 91, 111, 121,
116, 4, 5, 6, 7, 54, 44, 46, 10, 11,
124, 126, 12, 65, 13, 58, 115, 66, 14, 48,
15, 86, 50, 44, 63, 87, 90, 64, 131, 108,
78, 110, 44, 79, 73, 82, 129, 84, 85, 89,
101, 94, 104, 109, 112, 113, 117, 122, 123, 127,
83, 125, 130, 92, 47, 105, 0, 128
}

Definition at line 637 of file parse-events-bison.c.

◆ yytname

const char* const yytname[]
static
Initial value:
=
{
"$end", "error", "$undefined", "PE_START_EVENTS", "PE_START_TERMS",
"PE_VALUE", "PE_VALUE_SYM_HW", "PE_VALUE_SYM_SW", "PE_RAW", "PE_TERM",
"PE_EVENT_NAME", "PE_NAME", "PE_BPF_OBJECT", "PE_BPF_SOURCE",
"PE_MODIFIER_EVENT", "PE_MODIFIER_BP", "PE_NAME_CACHE_TYPE",
"PE_NAME_CACHE_OP_RESULT", "PE_PREFIX_MEM", "PE_PREFIX_RAW",
"PE_PREFIX_GROUP", "PE_ERROR", "PE_PMU_EVENT_PRE", "PE_PMU_EVENT_SUF",
"PE_KERNEL_PMU_EVENT", "PE_ARRAY_ALL", "PE_ARRAY_RANGE",
"PE_DRV_CFG_TERM", "','", "':'", "'{'", "'}'", "'-'", "'/'", "'='",
"'['", "']'", "$accept", "start", "start_events", "groups", "group",
"group_def", "events", "event", "event_mod", "event_name", "event_def",
"event_pmu", "value_sym", "event_legacy_symbol", "event_legacy_cache",
"event_legacy_mem", "event_legacy_tracepoint", "tracepoint_name",
"event_legacy_numeric", "event_legacy_raw", "event_bpf_file",
"opt_event_config", "start_terms", "event_config", "event_term", "array",
"array_terms", "array_term", "sep_dc", "sep_slash_dc", YY_NULLPTR
}
#define YY_NULLPTR

Definition at line 535 of file parse-events-bison.c.

◆ yytranslate

const yytype_uint8 yytranslate[]
static

Definition at line 484 of file parse-events-bison.c.