Changeset 9a0e118 for tools


Ignore:
Timestamp:
09/17/15 13:31:47 (5 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, 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:
80e834f
Parents:
b53d019
Message:

Update tracestats manpage to include -t option

Set default number of threads to 1 for tracestats, as it probably
isn't going to be doing enough work to warrant the extra thread overhead.

Location:
tools/tracestats
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tools/tracestats/tracestats.1

    rd6dc0f6 r9a0e118  
    33tracestats \- perform simple analysis on a trace
    44.SH SYNOPSIS
    5 .B tracestats 
    6 [ -f | --filter bpf ]... inputuri...
     5.B tracestats
     6[ -f | --filter bpf ] [ -t | --threads count ] ... inputuri...
    77.SH DESCRPTION
    88tracestats reads one or more traces and outputs summaries for each trace of
     
    1717.BI \-\^\-filter " bpf-filter"
    1818Add another bpf filter
     19
     20.TP
     21.PD 0
     22.BI \-t " count"
     23.TP
     24.PD
     25.BI \-\^\-threads " count"
     26Use 'count' threads for processing packets. Defaults to a single thread.
    1927
    2028.SH EXAMPLES
  • tools/tracestats/tracestats.c

    r322c516 r9a0e118  
    232232        int i;
    233233        struct sigaction sigact;
    234         int threadcount = 4;
     234        int threadcount = 1;
    235235
    236236        while(1) {
Note: See TracChangeset for help on using the changeset viewer.