Changeset 4325ef8
- Timestamp:
- 11/27/09 11:56:25 (13 years ago)
- 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:
- c7062df
- Parents:
- 706cd57
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/tracetop/tracetop.cc
rc549d3f r4325ef8 31 31 bool use_protocol = true; 32 32 bool quit = false; 33 bool fullspeed = false; 33 34 34 35 uint64_t total_bytes=0; … … 443 444 { "percent", 0, 0, 'P' }, 444 445 { "interval", 1, 0, 'i' }, 446 { "fast", 0, 0, 'F' }, 445 447 { NULL, 0, 0, 0 } 446 448 }; 447 449 448 int c= getopt_long(argc, argv, "f: s:p:hHi:",450 int c= getopt_long(argc, argv, "f:Fs:p:hHi:", 449 451 long_options, &option_index); 450 452 … … 455 457 case 'f': 456 458 filter=trace_create_filter(optarg); 459 break; 460 case 'F': 461 fullspeed = true; 457 462 break; 458 463 case 's': … … 518 523 } 519 524 } 525 if (fullspeed) { 526 int flag=1; 527 if (trace_config(trace,TRACE_OPTION_EVENT_REALTIME,&flag)) { 528 trace_perror(trace,"Setting EVENT_REALTIME option"); 529 } 530 } 520 531 521 532 if (trace_start(trace)) {
Note: See TracChangeset
for help on using the changeset viewer.