From: compudj Date: Sun, 4 Dec 2005 18:39:33 +0000 (+0000) Subject: genevent fix : important X-Git-Tag: v0.12.20~2113 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=43f7f14f2c5464282a62435572e160ba55b7e10a;p=lttv.git genevent fix : important git-svn-id: http://ltt.polymtl.ca/svn@1376 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/genevent-new/genevent.c b/genevent-new/genevent.c index aabc6997..69e3e151 100644 --- a/genevent-new/genevent.c +++ b/genevent-new/genevent.c @@ -1439,7 +1439,7 @@ int print_event_logging_function(char *basename, facility_t *fac, fprintf(fd, "&before_hdr_pad, &after_hdr_pad, &header_size);\n"); /* If error, return */ print_tabs(2, fd); - fprintf(fd, "if(!buffer) return;\n\n"); + fprintf(fd, "if(!buffer) continue; /* buffer full */\n\n"); /* Write event header */ print_tabs(2, fd); fprintf(fd, "ltt_write_event_header(trace, channel, buffer,\n");