Changeset d57ae6f for lib/libtrace.h.in


Ignore:
Timestamp:
05/14/13 17:17:57 (8 years ago)
Author:
Shane Alcock <salcock@…>
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:
808eeef
Parents:
0acfd1e
Message:

Added a new format: rawerf. This is a special format that will force ERF files to be opened and read without going through the compression autodetection. It will only work for uncompressed ERF files.

This should be a handy option for people who are working with lots of uncompressed ERF files -- running the compression autodetection against uncompressed ERF traces can very occasionally produce a false positive, i.e. decide the file is compressed. By skipping the autodetection and forcing the traces to be read as uncompressed ERF, the threat of this bug will go away.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h.in

    r94dbe30 rd57ae6f  
    306306        TRACE_FORMAT_ATMHDR       =13,  /**< Legacy ATM header capture */
    307307        TRACE_FORMAT_LEGACY_NZIX  =14,  /**< Legacy format used for NZIX traces */
    308         TRACE_FORMAT_LINUX_RING   =15   /**< Linux native interface capture PACKET_MMAP */
     308        TRACE_FORMAT_LINUX_RING   =15,  /**< Linux native interface capture PACKET_MMAP */
     309        TRACE_FORMAT_RAWERF       =16,  /**< Special format for reading uncompressed ERF traces without checking for compression */
    309310};
    310311
Note: See TracChangeset for help on using the changeset viewer.