Changeset 66caf4b for tools/tracereport


Ignore:
Timestamp:
06/29/06 20:58:23 (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:
47de0aa
Parents:
b01455c
Message:

Updated the various tools to have improved usage() functions, and to support calling libtrace's trace_help() function via a -H / --libtrace-help cmdline arg. At the moment trace_help() will print out a list of the format modules and the URI schemes they support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracereport/tracereport.c

    r28df3e6 r66caf4b  
    103103void usage(char *argv0)
    104104{
    105         fprintf(stderr,"Usage: %s [--filter|-f bpf ]... libtraceuri...\n",argv0);
     105        fprintf(stderr,"Usage:\n"
     106        "%s flags traceuri [traceuri...]\n"
     107        "-f --filter=bpf        Apply BPF filter. Can be specified multiple times\n"
     108        "-H --libtrace-help     Print libtrace runtime documentation\n"
     109        ,argv0);
     110        exit(1);
    106111}
    107112
Note: See TracChangeset for help on using the changeset viewer.