Changeset 2fbcb26 for tools


Ignore:
Timestamp:
03/22/07 15:29:17 (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:
344da9f
Parents:
b778083
Message:

tracedump now ignores packets that are not actual data packets, particularly RT meta-data packets.
Corrected the calculation of get_capture_length for RT meta-data packets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracedump/tracedump.cc

    re2d49d5 r2fbcb26  
    8383                        if (filter && !trace_apply_filter(filter,packet))
    8484                                continue;
    85 
     85                        if (packet->type < TRACE_RT_DATA_SIMPLE)
     86                                /* Ignore RT messages */
     87                                continue;
    8688                        trace_dump_packet(packet);
    8789
Note: See TracChangeset for help on using the changeset viewer.