Linux Perf
pmu-flex.h File Reference
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
Include dependency graph for pmu-flex.h:

Go to the source code of this file.

Classes

struct  yy_buffer_state
 

Macros

#define perf_pmu_IN_HEADER   1
 
#define YY_INT_ALIGNED   short int
 
#define FLEX_SCANNER
 
#define YY_FLEX_MAJOR_VERSION   2
 
#define YY_FLEX_MINOR_VERSION   6
 
#define YY_FLEX_SUBMINOR_VERSION   0
 
#define FLEXINT_H
 
#define INT8_MIN   (-128)
 
#define INT16_MIN   (-32767-1)
 
#define INT32_MIN   (-2147483647-1)
 
#define INT8_MAX   (127)
 
#define INT16_MAX   (32767)
 
#define INT32_MAX   (2147483647)
 
#define UINT8_MAX   (255U)
 
#define UINT16_MAX   (65535U)
 
#define UINT32_MAX   (4294967295U)
 
#define yyconst
 
#define YY_BUF_SIZE   16384
 
#define YY_TYPEDEF_YY_BUFFER_STATE
 
#define YY_TYPEDEF_YY_SIZE_T
 
#define YY_STRUCT_YY_BUFFER_STATE
 
#define yytext_ptr   perf_pmu_text
 
#define YY_EXTRA_TYPE   void *
 
#define YY_READ_BUF_SIZE   8192
 
#define YY_START_STACK_INCR   25
 
#define YY_DECL_IS_OURS   1
 
#define YY_DECL   int perf_pmu_lex (void)
 

Typedefs

typedef signed char flex_int8_t
 
typedef short int flex_int16_t
 
typedef int flex_int32_t
 
typedef unsigned char flex_uint8_t
 
typedef unsigned short int flex_uint16_t
 
typedef unsigned int flex_uint32_t
 
typedef struct yy_buffer_stateYY_BUFFER_STATE
 
typedef size_t yy_size_t
 

Functions

void perf_pmu_restart (FILE *input_file)
 
void perf_pmu__switch_to_buffer (YY_BUFFER_STATE new_buffer)
 
YY_BUFFER_STATE perf_pmu__create_buffer (FILE *file, int size)
 
void perf_pmu__delete_buffer (YY_BUFFER_STATE b)
 
void perf_pmu__flush_buffer (YY_BUFFER_STATE b)
 
void perf_pmu_push_buffer_state (YY_BUFFER_STATE new_buffer)
 
void perf_pmu_pop_buffer_state (void)
 
YY_BUFFER_STATE perf_pmu__scan_buffer (char *base, yy_size_t size)
 
YY_BUFFER_STATE perf_pmu__scan_string (yyconst char *yy_str)
 
YY_BUFFER_STATE perf_pmu__scan_bytes (yyconst char *bytes, yy_size_t len)
 
void * perf_pmu_alloc (yy_size_t)
 
void * perf_pmu_realloc (void *, yy_size_t)
 
void perf_pmu_free (void *)
 
int perf_pmu_lex_destroy (void)
 
int perf_pmu_get_debug (void)
 
void perf_pmu_set_debug (int debug_flag)
 
YY_EXTRA_TYPE perf_pmu_get_extra (void)
 
void perf_pmu_set_extra (YY_EXTRA_TYPE user_defined)
 
FILE * perf_pmu_get_in (void)
 
void perf_pmu_set_in (FILE *_in_str)
 
FILE * perf_pmu_get_out (void)
 
void perf_pmu_set_out (FILE *_out_str)
 
yy_size_t perf_pmu_get_leng (void)
 
char * perf_pmu_get_text (void)
 
int perf_pmu_get_lineno (void)
 
void perf_pmu_set_lineno (int _line_number)
 
int perf_pmu_wrap (void)
 
int perf_pmu_lex (void)
 

Variables

yy_size_t perf_pmu_leng
 
FILE * perf_pmu_in
 
FILE * perf_pmu_out
 
int perf_pmu_lineno
 
char * perf_pmu_text
 

Macro Definition Documentation

◆ FLEX_SCANNER

#define FLEX_SCANNER

Definition at line 13 of file pmu-flex.h.

◆ FLEXINT_H

#define FLEXINT_H

Definition at line 34 of file pmu-flex.h.

◆ INT16_MAX

#define INT16_MAX   (32767)

Definition at line 76 of file pmu-flex.h.

◆ INT16_MIN

#define INT16_MIN   (-32767-1)

Definition at line 67 of file pmu-flex.h.

◆ INT32_MAX

#define INT32_MAX   (2147483647)

Definition at line 79 of file pmu-flex.h.

◆ INT32_MIN

#define INT32_MIN   (-2147483647-1)

Definition at line 70 of file pmu-flex.h.

◆ INT8_MAX

#define INT8_MAX   (127)

Definition at line 73 of file pmu-flex.h.

◆ INT8_MIN

#define INT8_MIN   (-128)

Definition at line 64 of file pmu-flex.h.

◆ perf_pmu_IN_HEADER

#define perf_pmu_IN_HEADER   1

Definition at line 3 of file pmu-flex.h.

◆ UINT16_MAX

#define UINT16_MAX   (65535U)

Definition at line 85 of file pmu-flex.h.

◆ UINT32_MAX

#define UINT32_MAX   (4294967295U)

Definition at line 88 of file pmu-flex.h.

◆ UINT8_MAX

#define UINT8_MAX   (255U)

Definition at line 82 of file pmu-flex.h.

◆ YY_BUF_SIZE

#define YY_BUF_SIZE   16384

Definition at line 125 of file pmu-flex.h.

◆ YY_DECL

#define YY_DECL   int perf_pmu_lex (void)

Definition at line 313 of file pmu-flex.h.

◆ YY_DECL_IS_OURS

#define YY_DECL_IS_OURS   1

Definition at line 309 of file pmu-flex.h.

◆ YY_EXTRA_TYPE

#define YY_EXTRA_TYPE   void *

Definition at line 234 of file pmu-flex.h.

◆ YY_FLEX_MAJOR_VERSION

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 14 of file pmu-flex.h.

◆ YY_FLEX_MINOR_VERSION

#define YY_FLEX_MINOR_VERSION   6

Definition at line 15 of file pmu-flex.h.

◆ YY_FLEX_SUBMINOR_VERSION

#define YY_FLEX_SUBMINOR_VERSION   0

Definition at line 16 of file pmu-flex.h.

◆ YY_INT_ALIGNED

#define YY_INT_ALIGNED   short int

Definition at line 9 of file pmu-flex.h.

◆ YY_READ_BUF_SIZE

#define YY_READ_BUF_SIZE   8192

Definition at line 296 of file pmu-flex.h.

◆ YY_START_STACK_INCR

#define YY_START_STACK_INCR   25

Definition at line 302 of file pmu-flex.h.

◆ YY_STRUCT_YY_BUFFER_STATE

#define YY_STRUCT_YY_BUFFER_STATE

Definition at line 144 of file pmu-flex.h.

◆ YY_TYPEDEF_YY_BUFFER_STATE

#define YY_TYPEDEF_YY_BUFFER_STATE

Definition at line 130 of file pmu-flex.h.

◆ YY_TYPEDEF_YY_SIZE_T

#define YY_TYPEDEF_YY_SIZE_T

Definition at line 135 of file pmu-flex.h.

◆ yyconst

#define yyconst

Definition at line 113 of file pmu-flex.h.

◆ yytext_ptr

#define yytext_ptr   perf_pmu_text

Definition at line 218 of file pmu-flex.h.

Typedef Documentation

◆ flex_int16_t

typedef short int flex_int16_t

Definition at line 56 of file pmu-flex.h.

◆ flex_int32_t

typedef int flex_int32_t

Definition at line 57 of file pmu-flex.h.

◆ flex_int8_t

typedef signed char flex_int8_t

Definition at line 55 of file pmu-flex.h.

◆ flex_uint16_t

typedef unsigned short int flex_uint16_t

Definition at line 59 of file pmu-flex.h.

◆ flex_uint32_t

typedef unsigned int flex_uint32_t

Definition at line 60 of file pmu-flex.h.

◆ flex_uint8_t

typedef unsigned char flex_uint8_t

Definition at line 58 of file pmu-flex.h.

◆ YY_BUFFER_STATE

Definition at line 131 of file pmu-flex.h.

◆ yy_size_t

typedef size_t yy_size_t

Definition at line 136 of file pmu-flex.h.

Function Documentation

◆ perf_pmu__create_buffer()

YY_BUFFER_STATE perf_pmu__create_buffer ( FILE *  file,
int  size 
)

◆ perf_pmu__delete_buffer()

void perf_pmu__delete_buffer ( YY_BUFFER_STATE  b)

◆ perf_pmu__flush_buffer()

void perf_pmu__flush_buffer ( YY_BUFFER_STATE  b)

◆ perf_pmu__scan_buffer()

YY_BUFFER_STATE perf_pmu__scan_buffer ( char *  base,
yy_size_t  size 
)

◆ perf_pmu__scan_bytes()

YY_BUFFER_STATE perf_pmu__scan_bytes ( yyconst char *  bytes,
yy_size_t  len 
)

◆ perf_pmu__scan_string()

YY_BUFFER_STATE perf_pmu__scan_string ( yyconst char *  yy_str)

◆ perf_pmu__switch_to_buffer()

void perf_pmu__switch_to_buffer ( YY_BUFFER_STATE  new_buffer)

◆ perf_pmu_alloc()

void* perf_pmu_alloc ( yy_size_t  )

◆ perf_pmu_free()

void perf_pmu_free ( void *  )

◆ perf_pmu_get_debug()

int perf_pmu_get_debug ( void  )

◆ perf_pmu_get_extra()

YY_EXTRA_TYPE perf_pmu_get_extra ( void  )

◆ perf_pmu_get_in()

FILE* perf_pmu_get_in ( void  )

◆ perf_pmu_get_leng()

yy_size_t perf_pmu_get_leng ( void  )

◆ perf_pmu_get_lineno()

int perf_pmu_get_lineno ( void  )

◆ perf_pmu_get_out()

FILE* perf_pmu_get_out ( void  )

◆ perf_pmu_get_text()

char* perf_pmu_get_text ( void  )

◆ perf_pmu_lex()

int perf_pmu_lex ( void  )

◆ perf_pmu_lex_destroy()

int perf_pmu_lex_destroy ( void  )

◆ perf_pmu_pop_buffer_state()

void perf_pmu_pop_buffer_state ( void  )

◆ perf_pmu_push_buffer_state()

void perf_pmu_push_buffer_state ( YY_BUFFER_STATE  new_buffer)

◆ perf_pmu_realloc()

void* perf_pmu_realloc ( void *  ,
yy_size_t   
)

◆ perf_pmu_restart()

void perf_pmu_restart ( FILE *  input_file)

◆ perf_pmu_set_debug()

void perf_pmu_set_debug ( int  debug_flag)

◆ perf_pmu_set_extra()

void perf_pmu_set_extra ( YY_EXTRA_TYPE  user_defined)

◆ perf_pmu_set_in()

void perf_pmu_set_in ( FILE *  _in_str)

◆ perf_pmu_set_lineno()

void perf_pmu_set_lineno ( int  _line_number)

◆ perf_pmu_set_out()

void perf_pmu_set_out ( FILE *  _out_str)

◆ perf_pmu_wrap()

int perf_pmu_wrap ( void  )

Variable Documentation

◆ perf_pmu_in

FILE* perf_pmu_in

◆ perf_pmu_leng

yy_size_t perf_pmu_leng

◆ perf_pmu_lineno

int perf_pmu_lineno

◆ perf_pmu_out

FILE * perf_pmu_out

◆ perf_pmu_text

char* perf_pmu_text