Changeset d3849c7 for lib/trace.c


Ignore:
Timestamp:
03/30/15 13:49:08 (7 years ago)
Author:
Richard Sanger <rsangerarj@…>
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
Message:

Remove lots of debug prints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    rac65c9f rd3849c7  
    824824                if (packet->trace && packet->trace->format->fin_packet) {
    825825                        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));
    828826                }
    829827
     
    13911389                /* Make sure not one bet us to this */
    13921390                if (filter->flag) {
    1393                         printf("Someone bet us to compile the filter\n");
    13941391                        assert (pthread_mutex_unlock(&mutex) == 0);
    13951392                        return 1;
     
    14981495                ASSERT_RET(pthread_mutex_lock(&mutex), == 0);
    14991496                /* 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)
    15031498                /* Looking at compile_program source this appears to be thread safe
    15041499                 * however if this gets called twice we will leak this memory :(
Note: See TracChangeset for help on using the changeset viewer.