Changeset c20af2a


Ignore:
Timestamp:
04/27/07 15:10:07 (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:
3dc78cb
Parents:
f3576f5
Message:

Removed the locality report as I don't think it would be of much use to anyone else - we can always add it back in later if required

Location:
tools/tracereport
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • tools/tracereport/Makefile.am

    rb25f4b0 rc20af2a  
    2626        ecn_report.c\
    2727        tcpsegment_report.c\
    28         locality_report.c\
    2928        contain.h\
    3029        report.h\
  • tools/tracereport/tracereport.c

    rb25f4b0 rc20af2a  
    110110                if (reports_required & REPORT_TYPE_TCPSEG)
    111111                        tcpseg_per_packet(packet);
    112                 if (reports_required & REPORT_TYPE_LOCALITY)
    113                         locality_per_packet(packet);
    114112        }
    115113        trace_destroy(trace);
     
    134132        "-C --ecn               Report TCP ECN information\n"
    135133        "-s --tcpsegment        \tReport TCP segment size\n"
    136         "-l --locality=input    \tReport traffic locality using <input> to describe local IP addresses\n"
    137134        "-H --help              Print libtrace runtime documentation\n"
    138135        ,argv0);
     
    166163                        { "ecn",                0, 0, 'C' },
    167164                        { "tcpsegment",         0, 0, 's' },
    168                         { "locality",           1, 0, 'l' },
    169165                        { NULL,                 0, 0, 0 }
    170166                };
     
    193189                                usage(argv[0]);
    194190                                break;
    195                         case 'l':
    196                                 if (locality_init(optarg) > 0)
    197                                         reports_required |= REPORT_TYPE_LOCALITY;
    198191                        case 'm':
    199192                                reports_required |= REPORT_TYPE_MISC;
     
    274267        if (reports_required & REPORT_TYPE_TCPSEG)
    275268                tcpseg_report();
    276         if (reports_required & REPORT_TYPE_LOCALITY)
    277                 locality_report();
    278269        return 0;
    279270}
  • tools/tracereport/tracereport.h

    r1dc58e0 rc20af2a  
    2020        REPORT_TYPE_TCPSEG = 1 << 10,
    2121        REPORT_TYPE_SYNOPT = 1 << 11,
    22         REPORT_TYPE_LOCALITY = 1 << 12,
     22        REPORT_TYPE_LOCALITY = 1 << 12, /* No longer used by libtrace */
    2323        REPORT_TYPE_MISC = 1 << 13
    2424} report_type_t;
Note: See TracChangeset for help on using the changeset viewer.