Changeset b13b939 for lib/trace.c


Ignore:
Timestamp:
06/18/14 16:12:46 (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:
85e87b5
Parents:
82facc5
Message:

Adds a configuration option for the tick messages.
Adds the trace_information structure which contains information about traces.
Updates trace_rt_stats to use both of these.

Replaced libtrace_t->joined internally with a state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r82facc5 rb13b939  
    268268        libtrace->perpkts_finishing = -1;
    269269        libtrace->reducer_flags = 0;
    270         libtrace->joined = false;
    271270        libtrace->global_blob = NULL;
    272271        libtrace->per_pkt = NULL;
     
    285284        libtrace->perpkt_threads = NULL;
    286285        libtrace->tracetime = 0;
     286        libtrace->tick_interval = 0;
    287287
    288288        /* Parse the URI to determine what sort of trace we are dealing with */
     
    389389        libtrace->perpkts_finishing = -1;
    390390        libtrace->reducer_flags = 0;
    391         libtrace->joined = false;
    392391        libtrace->global_blob = NULL;
    393392        libtrace->per_pkt = NULL;
     
    406405        libtrace->perpkt_threads = NULL;
    407406        libtrace->tracetime = 0;
     407        libtrace->tick_interval = 0;
    408408       
    409409        for(tmp=formats_list;tmp;tmp=tmp->next) {
Note: See TracChangeset for help on using the changeset viewer.