Changeset d3849c7 for lib/trace.c
- Timestamp:
- 03/30/15 13:49:08 (6 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- 773a2a3
- Parents:
- c723e9e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/trace.c
rac65c9f rd3849c7 824 824 if (packet->trace && packet->trace->format->fin_packet) { 825 825 packet->trace->format->fin_packet(packet); 826 //gettimeofday(&tv, NULL);827 //printf ("%d.%06d DESTROYED #%"PRIu64"\n", tv.tv_sec, tv.tv_usec, trace_packet_get(packet));828 826 } 829 827 … … 1391 1389 /* Make sure not one bet us to this */ 1392 1390 if (filter->flag) { 1393 printf("Someone bet us to compile the filter\n");1394 1391 assert (pthread_mutex_unlock(&mutex) == 0); 1395 1392 return 1; … … 1498 1495 ASSERT_RET(pthread_mutex_lock(&mutex), == 0); 1499 1496 /* Again double check here like the bpf filter */ 1500 if(filter->jitfilter) 1501 printf("Someone bet us to compile the JIT thingy\n"); 1502 else 1497 if(!filter->jitfilter) 1503 1498 /* Looking at compile_program source this appears to be thread safe 1504 1499 * however if this gets called twice we will leak this memory :(
Note: See TracChangeset
for help on using the changeset viewer.