Changeset f2066fa for lib/libtrace_int.h


Ignore:
Timestamp:
08/25/15 17:40:12 (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:
2fa43fa
Parents:
03aca91
Message:

Fix #5 make trace_pstart fallback to the single threaded format

If starting a parallel format fails we now retry as a single threaded format.
This fixes ring/int on older (pre 3.1 kernels) machines without PACKET_FANOUT.
This behaviour can be detected using trace_is_parallel()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace_int.h

    r4007dbb rf2066fa  
    332332        /** User defined per_msg function called when a message is ready */
    333333        fn_cb_msg per_msg;
    334         /** User defined reporter function entry point XXX not hooked up */
     334        /** User defined reporter function entry point */
    335335        fn_reporter reporter;
    336336        /** The hasher function */
Note: See TracChangeset for help on using the changeset viewer.