X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Fparser.h;h=a447d6db03c3cca91b1bbc727cd8911aa1959bfb;hb=44f317b74c12963935e1893155eaada5dae31dd6;hp=c3a0c5eec7efcedd4f5174ad874270535f0f4224;hpb=f0b795e0b579719a95fee5f84d4dcb893044d926;p=lttv.git diff --git a/ltt/branches/poly/ltt/parser.h b/ltt/branches/poly/ltt/parser.h index c3a0c5ee..a447d6db 100644 --- a/ltt/branches/poly/ltt/parser.h +++ b/ltt/branches/poly/ltt/parser.h @@ -64,7 +64,7 @@ char *getQuotedString(parse_file_t *in); char *getName(parse_file_t *in); int getNumber(parse_file_t *in); char *getEqual(parse_file_t *in); -char seekNextChar(parse_file_t *in); +int seekNextChar(parse_file_t *in); void skipComment(parse_file_t * in); void skipEOL(parse_file_t * in); @@ -134,6 +134,8 @@ 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 ? */ + int param_buffer; /* For userspace tracing : takes a buffer as parameter? */ + int no_instrument_function; } event_t; typedef struct _facility { @@ -145,6 +147,7 @@ typedef struct _facility { sequence_t unnamed_types; //FIXME : remove table_t named_types; unsigned int checksum; + int user; /* Is this a userspace facility ? */ } facility_t; int getSizeindex(unsigned int value); @@ -172,8 +175,7 @@ void generateChecksum(char * facName, 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);