X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=genevent-new%2FREADME;h=d38633d35cd22797ed87e03abb8d44e2daf45b65;hb=a59f2897f1c734743199139811fe408f42afe391;hp=7b16fcdf406a01815ce33b742e58ed7c31d07004;hpb=a67cd958dd88555bd8f2352d8ecfe2bc678e9d6f;p=lttv.git diff --git a/genevent-new/README b/genevent-new/README index 7b16fcdf..d38633d3 100644 --- a/genevent-new/README +++ b/genevent-new/README @@ -12,6 +12,12 @@ 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. + * As from genevent 0.17, a standard XML 1.0 description is "required". It must + begin with the header. + 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 @@ -22,7 +28,7 @@ to the slowest. as string definition. you must then define it as an array of char : - + Note, however, that you might not want to declare a fixed size for trace size and unnecessary copy matters.