Changeset e49ec63


Ignore:
Timestamp:
06/01/06 13:52:41 (15 years ago)
Author:
Perry Lorier <perry@…>
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:
fc0f131
Parents:
ebe0c7f
Message:

Migrate to the libtrace3 api where trace_start() needs to be called

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracestats/tracestats.c

    r853603a re49ec63  
    8282        trace = trace_create(uri);
    8383
     84        if (trace_is_err(trace)) {
     85                trace_perror(trace,"");
     86                return;
     87        }
     88
     89        if (trace_start(trace)==-1) {
     90                trace_perror(trace,"");
     91                return;
     92        }
     93
     94
    8495        for (;;) {
    8596                int psize;
Note: See TracChangeset for help on using the changeset viewer.