Changeset 89e2ff7 for lib/trace.c


Ignore:
Timestamp:
11/25/16 11:18:42 (4 years ago)
Author:
Richard Sanger <rsanger@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, master, ndag_format, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
e3b6476
Parents:
caf7841
Message:

Fix trace_interrupt() with busy traces

Trace interrupt is now checked in the read loop, which also means
it works with trace files.

Fixes #36

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r0cdd231 r89e2ff7  
    921921                        size_t ret;
    922922                        int filtret;
     923                        if (libtrace_halt)
     924                                return 0;
    923925                        /* Store the trace we are reading from into the packet opaque
    924926                         * structure */
Note: See TracChangeset for help on using the changeset viewer.