Changeset 853603a for tools/tracedump


Ignore:
Timestamp:
05/29/06 14:08:00 (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:
0eef5d4
Parents:
f208f92
Message:

Migrate tools to the new API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracedump/tracedump.cc

    r72cc9cc r853603a  
    4747                                        usage(argv[0]);
    4848                                }
    49                                 filter=trace_bpf_setfilter(optarg);
     49                                filter=trace_create_filter(optarg);
    5050                                break;
    5151                        case 'c': count=atol(optarg); break;
     
    7575                }
    7676                while(trace_read_packet(trace,packet)> 0 ){
    77                         if (filter && !trace_bpf_filter(filter,packet))
     77                        if (filter && !trace_apply_filter(filter,packet))
    7878                                continue;
    7979
Note: See TracChangeset for help on using the changeset viewer.