projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add readme
[lttv.git]
/
genevent-new
/
parser.h
diff --git
a/genevent-new/parser.h
b/genevent-new/parser.h
index cf90b7a7814e4023a8db48c9a7aae08c27e6d04a..7c579e00c6e61ce989c6e5e004f6fdfcfe75ac1d 100644
(file)
--- a/
genevent-new/parser.h
+++ b/
genevent-new/parser.h
@@
-107,10
+107,12
@@
typedef struct _type_descriptor {
char *fmt;
size_t size;
sequence_t labels; // for enumeration
char *fmt;
size_t size;
sequence_t labels; // for enumeration
+ sequence_t labels_values; // for enumeration
sequence_t labels_description;
int already_printed;
sequence_t labels_description;
int already_printed;
- sequence_t fields; // for structure, array and sequence
- int alignment;
+ sequence_t fields; // for structure, array and sequence (field_t type)
+ int custom_write; /* Should we use a custom write function ? */
+ int network; /* Is the type a in network byte order ? */
} type_descriptor_t;
} type_descriptor_t;
@@
-132,16
+134,19
@@
typedef struct _event {
sequence_t fields; /* event fields */
int per_trace; /* Is the event able to be logged to a specific trace ? */
int per_tracefile; /* Must we log this event in a specific tracefile ? */
sequence_t fields; /* event fields */
int per_trace; /* Is the event able to be logged to a specific trace ? */
int per_tracefile; /* Must we log this event in a specific tracefile ? */
+ int param_buffer; /* For userspace tracing : takes a buffer as parameter? */
} event_t;
typedef struct _facility {
char * name;
char * capname;
} event_t;
typedef struct _facility {
char * name;
char * capname;
+ char * arch;
char * description;
sequence_t events;
char * description;
sequence_t events;
- sequence_t unnamed_types;
+ sequence_t unnamed_types;
//FIXME : remove
table_t named_types;
unsigned int checksum;
table_t named_types;
unsigned int checksum;
+ int user; /* Is this a userspace facility ? */
} facility_t;
int getSizeindex(unsigned int value);
} facility_t;
int getSizeindex(unsigned int value);
@@
-169,8
+174,7
@@
void generateChecksum(char * facName,
char * getNameAttribute(parse_file_t *in);
char * getFormatAttribute(parse_file_t *in);
int getSizeAttribute(parse_file_t *in);
char * getNameAttribute(parse_file_t *in);
char * getFormatAttribute(parse_file_t *in);
int getSizeAttribute(parse_file_t *in);
-int getValueAttribute(parse_file_t *in);
-char * getValueStrAttribute(parse_file_t *in);
+int getValueAttribute(parse_file_t *in, long long *value);
char * getDescription(parse_file_t *in);
char * getDescription(parse_file_t *in);
This page took
0.022746 seconds
and
4
git commands to generate.