Changeset 845


Ignore:
Timestamp:
06/01/06 13:52:41 (7 years ago)
Author:
perry
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/tracestats/tracestats.c

    r838 r845  
    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.