aboutsummaryrefslogtreecommitdiffstats
path: root/blktrace.c
AgeCommit message (Expand)AuthorFilesLines
2014-09-08signal condition variable at end of stop_tracersRobert Schiele1-0/+1
2013-08-01blktrace blkreplay: convert to use a dynamic cpu_set_tNathan Zimmer1-5/+11
2013-08-01blktrace: use number of configured cpus instead of online cpusNathan Zimmer1-2/+2
2012-02-01avoid string overflowsEric Sandeen1-3/+8
2012-02-01blktrace: remove unused variableEric Sandeen1-2/+1
2012-02-01Close stream in 'I' switch handlingEric Sandeen1-2/+6
2012-02-01Check setvbuf return valueEric Sandeen1-1/+4
2012-01-31Fix for realloc bug and wrong error loggingMikulas Patocka1-2/+7
2011-03-16blktrace: Document default values for -b and -nJustin TerAvest1-2/+2
2011-02-09blktrace: remove unused idx from devpath.Tao Ma1-2/+2
2011-02-09blktrace: break mlock in case of is_done.Tao Ma1-6/+15
2010-10-22blktrace: blktrace documentation updateEdward Shishkin1-3/+19
2010-09-16blktrace: disallow -o when using multiple devicesAlan D. Brunelle1-0/+6
2010-04-20blktrace: disable kill option - take 2Edward Shishkin1-1/+0
2010-04-20blktrace: print correct usageEdward Shishkin1-1/+1
2010-04-20blktrace: avoid device duplicationEdward Shishkin1-0/+9
2009-04-17handle race to mkdir at startupJeff Moyer1-1/+6
2009-03-23Blktrace failed to lock reader threads on the cpu used by the correspondingTom Zanussi1-1/+1
2009-02-17Fixed EAGAIN handling in blktrace.cAlan D. Brunelle1-2/+5
2009-02-12Code review updatesAlan D. Brunelle1-209/+231
2009-02-12Reworked blktrace master/thread interfaceAlan D. Brunelle1-143/+173
2009-02-11Moved starting of tracing after tracers are goingAlan D. Brunelle1-10/+22
2009-02-11Synchronized trace gatheringAlan D. Brunelle1-0/+26
2009-02-11Invoke gethostbyname once, handle errors betterAlan D. Brunelle1-11/+37
2009-02-11Added accept as a system call needing resource increasesAlan D. Brunelle1-1/+12
2009-02-09Rewrote blktrace to have a single thread per CPUAlan D. Brunelle1-1375/+1855
2009-01-23Increased limits to allow for large system runsAlan D. Brunelle1-7/+58
2008-10-30Set release version 1.0.0Jens Axboe1-1/+1
2008-10-16blktrace: accept -v (lower case) for version info as wellJens Axboe1-1/+8
2007-11-14memset() must be done after NULL checkJens Axboe1-1/+1
2007-10-29blktrace segfaultAneesh Kumar K.V1-0/+1
2007-08-28blktrace 0.99.3Jens Axboe1-1/+1
2007-02-26Added ability to add device names from a file to blktrace.Alan D. Brunelle1-2/+27
2007-02-07[PATCH] Fix debugfs references in docsVasily Tarasov1-1/+1
2006-12-01[PATCH] Bump versionJens Axboe1-1/+1
2006-10-30[PATCH] Ignore -o (output_name) when in server modeJens Axboe1-1/+7
2006-10-30[PATCH] Default debugfs path to /sys/kernel/debugJens Axboe1-1/+1
2006-09-05[PATCH] email updateJens Axboe1-0/+1
2006-05-08[PATCH] blktrace.c should ignore SIGPIPEAlex Polvi1-0/+1
2006-05-08[PATCH] fread/fwrite error handlingJens Axboe1-9/+5
2006-03-28[PATCH] blktrace: fix sendfile problem with > buf_size xmitsTom Zanussi1-18/+41
2006-03-16[PATCH] blktrace: fix get_subbuf() leakJens Axboe1-1/+6
2006-03-16[PATCH] blktrace: sendfile() poll can use -1 timeout with the flush changeJens Axboe1-1/+1
2006-03-15[PATCH] blktrace: only print one connection info per clientJens Axboe1-1/+2
2006-03-15[PATCH] blktrace: fixes for the new net client sendfileJens Axboe1-5/+9
2006-03-14[PATCH] blktrace: remember to check flush_subbuf() return valueJens Axboe1-3/+3
2006-03-14[PATCH] blktrace: per-cpu net connectionsTom Zanussi1-141/+239
2006-03-02[PATCH] blktrace: handle case where output directory is not setAlan D. Brunelle1-0/+2
2006-02-27[PATCH] blktrace: make sendfile usage the defaultJens Axboe1-3/+3
2006-02-27[PATCH] blktrace: relay files are now in debugfsJens Axboe1-16/+16
2006-02-23[PATCH] Mark as 0.99.1Jens Axboe1-1/+1
2006-02-23[PATCH] blktrace: add __for_each_foo() for nc's, and fix crash on bad reallocJens Axboe1-21/+15
2006-02-23[PATCH] blktrace: fix possible crash on exit without ever opening an ofileJens Axboe1-2/+3
2006-02-23[PATCH] blktrace: support multiple network connectionsJens Axboe1-101/+191
2006-02-23[PATCH] blktrace: make sure net traces for multiple devices end up in same dirJens Axboe1-9/+9
2006-02-23[PATCH] blktrace: make net server dropped count be per-deviceJens Axboe1-9/+18
2006-02-23[PATCH] blktrace: reduce context switches a lot, event count fix, etcJens Axboe1-32/+38
2006-02-23[PATCH] blktrace: remove padding logic, it's not needed with the new sendfile()Tom Zanussi1-53/+15
2006-02-22[PATCH] blktrace: get rid of signal hacks in accepting new connectionsJens Axboe1-21/+27
2006-02-22[PATCH] blktrace: no need to track ts->offset anymoreJens Axboe1-5/+3
2006-02-22[PATCH] blktrace: serialize sendfile sendout, then we can use poll reliablyJens Axboe1-68/+48
2006-02-21[PATCH] blktrace: is_done() typo...Jens Axboe1-1/+1
2006-02-21[PATCH] blktrace: missed net_sendfile argument updateJens Axboe1-1/+1
2006-02-21[PATCH] blktrace: sendfile() improvementsJens Axboe1-10/+29
2006-02-21[PATCH] blktrace: valid magic in received header alwaysJens Axboe1-1/+7
2006-02-21[PATCH] blktrace: only do ioctl stop on local traceJens Axboe1-1/+6
2006-02-20[PATCH] blktrace: tip_open_output() cleanupJens Axboe1-10/+8
2006-02-20[PATCH] blktrace: store server output in client-date directoryJens Axboe1-11/+40
2006-02-20[PATCH] blktrace: stop trace on SIGINT to allow drainJens Axboe1-14/+33
2006-02-20[PATCH] blktrace: ->fd and ->pfd init in net client modeJens Axboe1-0/+2
2006-02-20[PATCH] blktrace: final (hopefully) data read stat updatesJens Axboe1-2/+1
2006-02-20[PATCH] blktrace: net server stat fixesJens Axboe1-0/+3
2006-02-20[PATCH] blktrace: bad ->data_read increment, and poll() delay fix for sendfile()Jens Axboe1-7/+8
2006-02-20[PATCH] blktrace: use send() for last data on quit in sendfile() pathJens Axboe1-20/+38
2006-02-20[PATCH] blktrace: be a little more conservative on 'ready' subbuf bytesJens Axboe1-3/+8
2006-02-20[PATCH] blktrace: improve sendfile support (requires kernel change)Jens Axboe1-11/+76
2006-02-16[PATCH] blktrace: don't truncate/open local files when in net client modeJens Axboe1-41/+47
2006-02-15[PATCH] blktrace: don't leak the accepted socket fd on reconnectJens Axboe1-0/+3
2006-02-15[PATCH] blktrace: one more round up of data transferJens Axboe1-1/+1
2006-02-15[PATCH] blktrace: round up data read to nearest kbJens Axboe1-1/+1
2006-02-15[PATCH] blktrace: show incoming connectionJens Axboe1-1/+1
2006-02-15[PATCH] blktrace: allow quit when waiting for repeat connectionJens Axboe1-0/+5
2006-02-15[PATCH] blktrace: proper end-of-run cleanup for restartJens Axboe1-6/+18
2006-02-15[PATCH] blktrace: fill ops in net tip as wellJens Axboe1-0/+2
2006-02-15[PATCH] blktrace: allow client/server to signal end-of-run properlyJens Axboe1-1/+32
2006-02-15[PATCH] blktrace/README: update to include description of new net parametersJens Axboe1-1/+5
2006-02-15[PATCH] blktrace: add -s sendfile option (doesn't work right now)Jens Axboe1-14/+74
2006-02-15[PATCH] blktrace: add ->ops for the read/get/flush methodsJens Axboe1-24/+40
2006-02-14[PATCH] blktrace: various net related fixes (accounting, stats, etc)Jens Axboe1-5/+12
2006-02-14[PATCH] blktrace: need to free ts->buf for networked transferJens Axboe1-0/+1
2006-02-14[PATCH] blktrace: fix network support, don't use sendfile() yetJens Axboe1-80/+69
2006-02-14[PATCH] blktrace: first cut at adding network supportJens Axboe1-64/+453
2006-02-09[PATCH] Pin the mmap'ed output buffers in ramJens Axboe1-0/+2
2006-02-08[PATCH] blktrace: use the new setup/start/stop/teardown ioctlsJens Axboe1-4/+11
2006-02-07[PATCH] blktrace: remove unused definesJens Axboe1-3/+0
2006-02-07[PATCH] blktrace: remove one user -> kernel copy by mmap'ing output buffersJens Axboe1-15/+122
2006-02-06[PATCH] Allow trace data to stay CPU endiannessJens Axboe1-2/+0
2006-02-03[PATCH] blktrace: Make the subbuf adding/removing locklessJens Axboe1-22/+41
2006-02-02[PATCH] blktrace: make write_data() return early with buflen == 0Jens Axboe1-0/+3
2006-02-02[PATCH] blktrace: speedup write out by aggregating writesAlan D. Brunelle1-4/+6
2006-02-02[PATCH] blktrace: remember to initialize mutexAlan D. Brunelle1-0/+1
2006-01-30[PATCH] blktrace: allow live tracing to get full subbuffers as wellJens Axboe1-13/+5
2006-01-30[PATCH] blktrace: fix leftover_ts offsettingJens Axboe1-6/+4
2006-01-28[PATCH] blktrace: really fix the loop logicJens Axboe1-4/+4
2006-01-28[PATCH] blktrace: fix logic for write out loop when exitingJens Axboe1-1/+1
2006-01-27[PATCH] blktrace: cleanup the leftover subbuf codeAlan D. Brunelle1-25/+25
2006-01-27[PATCH] blktrace/blkrawverify: get rid of pesky signedness warningsJens Axboe1-5/+6
2006-01-27[PATCH] Need to still use outputname to check no_stdoutJens Axboe1-4/+7
2006-01-27[PATCH] blktrace: completely rewrite the event pull/pushing loopsJens Axboe1-277/+202
2006-01-25[PATCH] blktrace: improve live tracingJens Axboe1-8/+13
2006-01-25[PATCH] blktrace: Don't overwrite buf_size for the vbufferTom Zanussi1-5/+5
2006-01-24Merge branch 'master' of ssh://axboe@router.home.kernel.dk/data/git/blktraceJens Axboe1-1/+1
2006-01-24[PATCH] blktrace: fix for potential data overwriteAlan D. Brunelle1-1/+1
2006-01-22[PATCH] blktrace: bad ret = len assignment that should be ret == lenTom Zanussi1-1/+1
2006-01-18[PATCH] blktrace: woops, left debug fprintf() in there, kill itJens Axboe1-1/+0
2006-01-18[PATCH] blktrace: better poll fix, just return every x msec insteadJens Axboe1-14/+4
2006-01-18[PATCH] blktrace: improve poll() handling, relayfs uses subbuffer granularityJens Axboe1-25/+26
2006-01-18[PATCH] blktrace: __refile_ringbuffer() needs to return sizeJens Axboe1-4/+1
2006-01-18[PATCH] blktrace: signedness fixesJens Axboe1-2/+3
2006-01-18[PATCH] blktrace: remember to resize ringbuffer before each fillJens Axboe1-4/+4
2006-01-18[PATCH] blktrace: fix ringbuffer and event drop reapingJens Axboe1-79/+116
2006-01-17[PATCH] blktrace: we don't need ->closed anymoreJens Axboe1-10/+0
2006-01-17[PATCH] blktrace: let the threads shut themselves downJens Axboe1-37/+37
2006-01-17[PATCH] blktrace: add ringbuffer in front of kernel buffersJens Axboe1-16/+131
2006-01-16[PATCH] blktrace: kill unused tip membersJens Axboe1-4/+0
2006-01-13[PATCH] blktrace: add warning about increasing buffer size with dropped eventsJens Axboe1-7/+15
2006-01-13[PATCH] blktrace: show stats on sigint as wellJens Axboe1-0/+1
2006-01-13[PATCH] blktrace: add support for checking events dropped by the kernelTom Zanussi1-2/+36
2006-01-12[PATCH] blktrace: smaller code cleanupsJens Axboe1-29/+34
2006-01-12[PATCH] blktrace: use buffered output, halves the CPU usage of tracing.Jens Axboe1-33/+67
2006-01-11[PATCH] Increase blktrace default subbuffer sizeJens Axboe1-1/+5
2005-10-11[PATCH] 1.0 preparationsJens Axboe1-1/+1
2005-10-07[PATCH] Add -v for being more verbose on non-fatal errorsJens Axboe1-3/+3
2005-10-07[PATCH] blktrace: fix error on stopping live trace and allow trace on CDROMJens Axboe1-2/+5
2005-10-06[PATCH] blktrace: gcc-4 signed vs unsigned warningJens Axboe1-1/+1
2005-10-05[PATCH] blktrace: sanity check the buf_size argument, cap at 16MiB.Jens Axboe1-1/+1
2005-10-05[PATCH] Fix long optionsJens Axboe1-3/+3
2005-10-05Merge refs/heads/master from origin Jens Axboe1-1/+1
2005-10-05[PATCH] Remember to terminate options structureJens Axboe1-0/+3
2005-10-05[PATCH] blktrace: fix a few -W warningsJens Axboe1-1/+1
2005-10-05[PATCH] blkparse: Add -a/-A options to blkparse as wellAlan D. Brunelle1-38/+2
2005-10-04[PATCH] Add -D output/input directory option to blkparse and blktraceJens Axboe1-3/+20
2005-10-04[PATCH] blktrace: note that the -b option is in KiBJens Axboe1-1/+1
2005-10-04[PATCH] blktrace: optimize the get_event() normal caseJens Axboe1-5/+69
2005-10-03[PATCH] blktrace: allow for unaligned eventsJens Axboe1-1/+17
2005-10-03[PATCH] blktrace: various fixesJens Axboe1-75/+39
2005-09-29[PATCH] Assorted compiler warningsJens Axboe1-9/+9
2005-09-27[PATCH] blktrace: fix sparse warningJens Axboe1-1/+1
2005-09-23[PATCH] blktrace: Add option for setting sub buffer sizeJens Axboe1-8/+41
2005-09-22[PATCH] Update in-program help/usage infoJens Axboe1-6/+26
2005-09-21[PATCH] Fix output naming, reallyJens Axboe1-4/+6
2005-09-20[PATCH] Change output/input file expectationsJens Axboe1-16/+9
2005-09-20[PATCH] blktrace: fix exitJens Axboe1-3/+6
2005-09-20[PATCH] blkparse: Add format specifiers and format field identifiersAlan D. Brunelle1-2/+2
2005-09-20[PATCH] blktrace: prepare for mmap usage againJens Axboe1-30/+91
2005-09-15[PATCH] blktrace: better check for mounted relayfsNathan Scott1-3/+11
2005-09-14[PATCH] blktrace: add stopwatch functionalityNathan Scott1-1/+21
2005-09-12[PATCH] Add support for tracing multiple devicesNathan Scott1-84/+182
2005-09-09[PATCH] blktrace: remove unneeded strdupNathan Scott1-5/+5
2005-09-07[PATCH] Fix unaligned access on pthread_join(..., &int)Jens Axboe1-1/+1
2005-09-06[PATCH] Minimize output fd lock timeJens Axboe1-14/+22
2005-09-06[PATCH] Unify error returnsJens Axboe1-9/+9
2005-09-06[PATCH] allow devices as arguments (as well as via -d option)Nathan Scott1-6/+14
2005-09-06[PATCH] Fix some wierd pthread/atexit interactionsNathan Scott1-10/+29
2005-09-06[PATCH] Forgot to update last file on checkinJens Axboe1-8/+14
2005-09-05[PATCH] Misc error handling and style fixesJens Axboe1-7/+7
2005-09-05[PATCH] Add support for killing running traceJens Axboe1-11/+26
2005-09-05[PATCH] Better strcmp fixNathan Scott1-17/+3
2005-09-05[PATCH] Support for live tracingJens Axboe1-32/+66
2005-09-04[PATCH] Style fixupsJens Axboe1-21/+23
2005-09-04[PATCH] Stop threads before stopping traceJens Axboe1-1/+1
2005-09-02[PATCH] Fix the stop trace logic to not attempt to stop it twiceJens Axboe1-10/+7
2005-09-02[PATCH] blktrace fixesJens Axboe1-20/+27
2005-09-02[PATCH] Fix usage of uninitialized array in pdu extractionNathan Scott1-9/+10
2005-09-02[PATCH] Remember to close devfd if start_trace() failsJens Axboe1-5/+17
2005-09-01[PATCH] Always make sure we stop the trace properlyJens Axboe1-1/+10
2005-08-31[PATCH] Add license and copyright informationJens Axboe1-0/+16
2005-08-31[PATCH] Add argument parsing for blktraceAlan D. Brunelle1-8/+132
2005-08-29[PATCH] blktrace: fix payload tracingJens Axboe1-3/+5
2005-08-29[PATCH] Always store trace data in big endian formatJens Axboe1-15/+2
2005-08-29[PATCH] Don't overwrite magic in traceJens Axboe1-2/+0
2005-08-29 - Improved error handlingJens Axboe1-25/+10
2005-08-27Various cleanups and killing unused variablesJens Axboe1-18/+25
2005-08-27Fixed the sorting and parsing of traces with payloadsJens Axboe1-2/+2
2005-08-26Increase MAX_CPUS to 512. Use the full magic number for cpu number, notJens Axboe1-1/+1
2005-08-26Initial commitJens Axboe1-0/+313