xml 1.0
[lttv.git] / genevent-new / README
index ad31d648e4d39986cd3d84184b5c765eca7532bc..0a62c286ebf09f3d10329b050f258b7e7c2cfdb6 100644 (file)
@@ -12,6 +12,10 @@ There are several files in the directory:
 In fact, crc32.tab, parser.c and parser.h are the same files as  
 those in LTT library.
 
+Important notes : 
+       * Do not put "-" symbols in facilities name.
+       * Use the exact same name for facility xml file and for facility name.
+
 Note about strings :
 There are three methods to write strings in genevent, each suitable and
 efficient for a particular case. They are explained here from the fastest
@@ -44,11 +48,11 @@ to the slowest.
                size.
 
        A typical use for this case is filenames in the Linux kernel. The
-       dentry strucure has a d_name members, which is a struct qstr containing
+       dentry strucure has a d_name member, which is a struct qstr containing
        a unsigned int len and const unsigned char *name.
 
        you must use a sequence to declare this efficiently :
-       <sequence lengthtype=<uint>/><char></sequence>
+       <sequence><uint><char></sequence>
                
 3 - The C code presents a \0 terminated string.
        
This page took 0.025148 seconds and 4 git commands to generate.