Changeset 646aca1 for lib/trace.c


Ignore:
Timestamp:
07/20/07 15:26:04 (14 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:
708f9ae
Parents:
a43a2bd
Message:
  • Added a new config option for input traces which will specify whether the event framework should retain the time gaps between packets or not.
  • Updated erf and pcapfile to support the new option, other formats can be updated as required.
  • Renamed the TRACE_META_FREQ option to match the option naming scheme
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    re1fdc05 r646aca1  
    561561                        }
    562562                        return -1;
    563                 case TRACE_META_FREQ:
     563                case TRACE_OPTION_META_FREQ:
    564564                        if (!trace_is_err(libtrace)) {
    565565                                trace_set_err(libtrace,
     
    568568                        }
    569569                        return -1;
     570                case TRACE_OPTION_EVENT_REALTIME:
     571                        if (!trace_is_err(libtrace)) {
     572                                trace_set_err(libtrace,
     573                                                TRACE_ERR_OPTION_UNAVAIL,
     574                                                "This format does not support meta-data gathering");
     575                        }
     576                        return -1;
     577                       
    570578        }
    571579        if (!trace_is_err(libtrace)) {
Note: See TracChangeset for help on using the changeset viewer.