Changeset 3cfa94a for lib/libtrace.h


Ignore:
Timestamp:
04/09/05 18:29:56 (16 years ago)
Author:
Daniel Lawson <dlawson@…>
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:
001fbb6
Parents:
48a6c51
Message:

bump version to 2.0.16. Not installed anywhere

Fixed the event api to work with tracefiles:

  • wasn't actually copying into internal buffer
  • timekeeping had second resolution, this didn't work very well
  • added a TRACE_EVENT_TERMINATE event, so that we don't loose the

return condition from trace_read_packet

This still needs a bit of work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h

    rd66fbf0 r3cfa94a  
    436436        TRACE_EVENT_IOWAIT,
    437437        TRACE_EVENT_SLEEP,
    438         TRACE_EVENT_PACKET
     438        TRACE_EVENT_PACKET,
     439        TRACE_EVENT_TERMINATE
    439440} libtrace_event_t;
    440441
     
    444445        int fd;                /**< if IOWAIT, the fd to sleep on */
    445446        double seconds;        /**< if SLEEP, the amount of time to sleep for */
     447        int size;              /**< if PACKET, the value returned from trace_read_packet */
    446448};
    447449
Note: See TracChangeset for help on using the changeset viewer.