Changeset 0c9681f


Ignore:
Timestamp:
11/15/05 10:11:45 (15 years ago)
Author:
Daniel Lawson <dlawson@…>
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:
de99828
Parents:
f9374e9
Message:

removed extra printf of the timestamp - tracedump does this for us

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracedump/tracedump.cc

    r37dc1fb r0c9681f  
    6666
    6767                while(trace_read_packet(trace,&packet)> 0 ){
    68                         time_t sec = (time_t)trace_get_seconds(&packet);
    6968                        if (filter && !trace_bpf_filter(filter,&packet))
    7069                                continue;
    7170
    72                         printf("%s",ctime(&sec));
    7371                        trace_dump_packet(&packet);
    7472                        if(count) {
     
    7977                }
    8078
     79                printf("\n");
    8180                trace_destroy(trace);
    8281                optind ++;
Note: See TracChangeset for help on using the changeset viewer.