add slow_printf support to generic
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 6 Mar 2006 16:02:22 +0000 (16:02 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 6 Mar 2006 16:02:22 +0000 (16:02 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1583 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/ltt/parser.c
ltt/branches/poly/ltt/parser.h

index 3183367e7ff16a97e479c7d52dcd1b6ce540d5e0..ba331e9edb88ae9da88a97545bb05c94e8f81c59 100644 (file)
@@ -247,6 +247,7 @@ void getEventAttributes(parse_file_t *in, event_t *ev)
   ev->name = NULL;
   ev->per_trace = 0;
   ev->per_tracefile = 0;
+  ev->param_buffer = 0;
 
   while(1) {
     token = getToken(in); 
@@ -265,7 +266,9 @@ void getEventAttributes(parse_file_t *in, event_t *ev)
       ev->per_trace = 1;
     } else if(!strcmp("per_tracefile", token)) {
       ev->per_tracefile = 1;
-    }
+    } else if(!strcmp("param_buffer", token)) {
+                       ev->param_buffer = 1;
+               }
 
   }
 }
index c039404990990a4b0aacee1fb6a40e6cdd91f0ed..7c579e00c6e61ce989c6e5e004f6fdfcfe75ac1d 100644 (file)
@@ -134,6 +134,7 @@ 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? */
 } event_t;
 
 typedef struct _facility {
This page took 0.024372 seconds and 4 git commands to generate.