Ignore:
Timestamp:
02/23/15 15:01:00 (6 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:
526d9d0
Parents:
5df059b
Message:

Fixes DAG DUCK reporting for parallel libtrace.
In parallel libtrace DUCK is only ever sent to the first thread.

It is now up each formats pread_packet to tag the trace along with
the error (AKA bytes read) to each packet.

Change logic in parallel libtrace to alwaus prefer pread over read if
it exists.

Fix some unresolved conflict in DPDK that I missed, that was ifdef'd out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_linux_int.c

    re4f27d1 r10c47a0  
    300300         * we just need to get prepare_packet to set all our packet pointers
    301301         * appropriately */
    302        
     302        packet->trace = libtrace;
    303303        if (linuxnative_prepare_packet(libtrace, packet, packet->buffer,
    304304                                packet->type, flags))
Note: See TracChangeset for help on using the changeset viewer.