Changeset 7068467 for lib/fifo.c


Ignore:
Timestamp:
02/10/06 18:02:32 (16 years ago)
Author:
Perry Lorier <perry@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, 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:
6eb91ff
Parents:
7f32bb5
Message:

Major cleanup of libtrace3
Lots of documentation fixes
Lots of zerocopy fixes
Lots of config option fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/fifo.c

    r9c6aa95 r7068467  
    9898{
    9999        assert(fifo);
    100         //free(tracefifo_stat_buffer);
    101100        free(fifo->base);
    102101        free(fifo);
     
    116115
    117116void tracefifo_flush(struct tracefifo_t *fifo __attribute__((unused))) {
    118         // do nothing
     117        /* do nothing */
    119118        return;
    120119}
     
    220219                                size);
    221220                increment_pointer(fifo,which,size);
    222                 buffer += size;
     221                buffer = (char*)buffer+size;
    223222                lenleft -= size;
    224223        }
Note: See TracChangeset for help on using the changeset viewer.