Ignore:
Timestamp:
11/19/14 09:24:50 (7 years ago)
Author:
Dan Collins <djc44@…>
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:
9149564
Parents:
fe11d12
Message:

Fixed the debug output to be more clear.
trace_parallel:

  • Changed pausing -> resuming (that never made sense before!)
  • Also removed some large debug output, but that can be reenabled easily

object_cache:

  • There is still a bug, but I added new lines to make it look nicer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/data-struct/object_cache.c

    r957a72a r78911b5  
    226226        // Make sure we haven't lost too many packets
    227227        if (oc->current_allocations)
    228                 fprintf(stderr, "!!OCache closing lost, %d packets!!", (int) oc->current_allocations);
     228                fprintf(stderr, "!!OCache closing lost, %d packets!!\n", (int) oc->current_allocations);
    229229        else
    230                 fprintf(stderr, "!!OCache closing lost, %d packets!!", (int) oc->current_allocations);
     230                /* This is clearly a bug, but I don't know what to replace it with... */
     231                fprintf(stderr, "!!OCache closing lost, %d packets!!\n", (int) oc->current_allocations);
    231232        libtrace_ringbuffer_destroy(&oc->rb);
    232233        pthread_spin_destroy(&oc->spin);
Note: See TracChangeset for help on using the changeset viewer.