blktrace.git
19 years ago[PATCH] Better strcmp fix
Nathan Scott [Mon, 5 Sep 2005 11:12:48 +0000 (13:12 +0200)]
[PATCH] Better strcmp fix

I looked at that strcmp memleak again for some reason, and wondered why not
use strcasecmp instead to further simplify things?

19 years ago[PATCH] Support for live tracing
Jens Axboe [Mon, 5 Sep 2005 11:09:45 +0000 (13:09 +0200)]
[PATCH] Support for live tracing

This patch adds support for doing live traces again, by allowing pipe of
data from blktrace to blkparse. A structural change was needed in blk_io_trace
to pass the CPU number info directly instead of inferring it from the filename.

To parse realtime:

$ blktrace -d /dev/xxx -o - | blkparse -i -

19 years ago[PATCH] Style fixups
Jens Axboe [Sun, 4 Sep 2005 15:37:06 +0000 (17:37 +0200)]
[PATCH] Style fixups

Alan seems to be fond of replacing tabs with space.s

19 years ago[PATCH] Stop threads before stopping trace
Jens Axboe [Sun, 4 Sep 2005 15:31:23 +0000 (17:31 +0200)]
[PATCH] Stop threads before stopping trace

Otherwise the BLKSTOPTRACE will be called with the relayfs fd still being
open, and the <dev> directory wont be removed then causing subsequent
traces to fail.

19 years ago[PATCH] Update kernel patch to match new relayfs layout
Jens Axboe [Fri, 2 Sep 2005 12:26:24 +0000 (14:26 +0200)]
[PATCH] Update kernel patch to match new relayfs layout

Lay out the relayfs files a little nicer, so it's not so confusing to look
at.

Original patch from Nathan Scott <nathans@sgi.com>

19 years ago[PATCH] Fix the stop trace logic to not attempt to stop it twice
Jens Axboe [Fri, 2 Sep 2005 11:47:23 +0000 (13:47 +0200)]
[PATCH] Fix the stop trace logic to not attempt to stop it twice

19 years ago[PATCH] blktrace fixes
Jens Axboe [Fri, 2 Sep 2005 11:17:03 +0000 (13:17 +0200)]
[PATCH] blktrace fixes

- Threads don't close the trace fd
- Switch to newer /relay/block/<dev>/trace<cpu> naming

19 years ago[PATCH] Kill silly changelog, it's too bothersome
Jens Axboe [Fri, 2 Sep 2005 08:57:07 +0000 (10:57 +0200)]
[PATCH] Kill silly changelog, it's too bothersome

19 years ago[PATCH] Fix usage of uninitialized array in pdu extraction
Nathan Scott [Fri, 2 Sep 2005 08:56:20 +0000 (10:56 +0200)]
[PATCH] Fix usage of uninitialized array in pdu extraction

19 years ago[PATCH] Fix memory leak in blktrace arg parsing
Nathan Scott [Fri, 2 Sep 2005 08:54:37 +0000 (10:54 +0200)]
[PATCH] Fix memory leak in blktrace arg parsing

19 years ago[PATCH] blktrace-fix-double-close
Nathan Scott [Fri, 2 Sep 2005 08:52:53 +0000 (10:52 +0200)]
[PATCH] blktrace-fix-double-close

stop_trace() has already closed the devfd, don't do so again.

19 years ago[PATCH] Remember to close devfd if start_trace() fails
Jens Axboe [Fri, 2 Sep 2005 08:51:59 +0000 (10:51 +0200)]
[PATCH] Remember to close devfd if start_trace() fails

19 years ago[PATCH] Make relayfs mount path an option
Nathan Scott [Fri, 2 Sep 2005 08:50:00 +0000 (10:50 +0200)]
[PATCH] Make relayfs mount path an option

Provide an option allowing blktrace to find relayfs at mount
points other than /relay (keeps /relay as the default though,
of course).

19 years ago[PATCH] Move BLK_TA_QUEUE trace
Jens Axboe [Thu, 1 Sep 2005 15:25:00 +0000 (17:25 +0200)]
[PATCH] Move BLK_TA_QUEUE trace

It makes more sense to do it after request allocation.

19 years ago[PATCH] Always make sure we stop the trace properly
Jens Axboe [Thu, 1 Sep 2005 14:43:36 +0000 (16:43 +0200)]
[PATCH] Always make sure we stop the trace properly

19 years ago[PATCH] Fix oops on starting trace on stacked devices (such as md, dm, etc)
Jens Axboe [Thu, 1 Sep 2005 14:43:04 +0000 (16:43 +0200)]
[PATCH] Fix oops on starting trace on stacked devices (such as md, dm, etc)

19 years ago[PATCH] Timestamp updates
Alan D. Brunelle [Thu, 1 Sep 2005 13:44:54 +0000 (15:44 +0200)]
[PATCH] Timestamp updates

- Changed output format to seconds.nanoseconds (makes it easier on the eyes)
- Made a single time stamp reference point (instead of a per-cpu reference
  point)

19 years ago[PATCH] Sync inter processor time
Jens Axboe [Thu, 1 Sep 2005 13:43:12 +0000 (15:43 +0200)]
[PATCH] Sync inter processor time

Calibrate the time offsets of each processor in an SMP system on boot time
to attempt to keep the timestamps offsets in check.

19 years ago[PATCH] Update kernel patch to 2.6.13-mm1
Jens Axboe [Thu, 1 Sep 2005 11:11:25 +0000 (13:11 +0200)]
[PATCH] Update kernel patch to 2.6.13-mm1

19 years ago[PATCH] Add license and copyright information
Jens Axboe [Wed, 31 Aug 2005 07:41:36 +0000 (09:41 +0200)]
[PATCH] Add license and copyright information

19 years ago[PATCH] Add argument parsing for blktrace
Alan D. Brunelle [Wed, 31 Aug 2005 06:49:05 +0000 (08:49 +0200)]
[PATCH] Add argument parsing for blktrace

This patch adds the option of specifying the trace mask for blktrace, so you
can register an interest in only certain events.

19 years ago[PATCH] blktrace: fix payload tracing
Jens Axboe [Mon, 29 Aug 2005 13:49:05 +0000 (15:49 +0200)]
[PATCH] blktrace: fix payload tracing

Endianness conversion was done before reading ->pdu_len, thus screwing it
up and hanging forever waiting for data.

19 years ago[PATCH] stats update
root [Mon, 29 Aug 2005 12:45:44 +0000 (14:45 +0200)]
[PATCH] stats update

Split stats into per-cpu and don't display empty stats

19 years ago[PATCH] Split output stats into per-cpu
Jens Axboe [Mon, 29 Aug 2005 12:00:50 +0000 (14:00 +0200)]
[PATCH] Split output stats into per-cpu

19 years ago[PATCH] blkparse: Don't clear rb_root in sort_entries()
Jens Axboe [Mon, 29 Aug 2005 11:27:35 +0000 (13:27 +0200)]
[PATCH] blkparse: Don't clear rb_root in sort_entries()

It will override the entries already sorted from the previous CPUs.

19 years ago[PATCH] Always store trace data in big endian format
Jens Axboe [Mon, 29 Aug 2005 07:45:41 +0000 (09:45 +0200)]
[PATCH] Always store trace data in big endian format

19 years ago[PATCH] Don't overwrite magic in trace
Jens Axboe [Mon, 29 Aug 2005 08:14:11 +0000 (10:14 +0200)]
[PATCH] Don't overwrite magic in trace

Leave the _dat file traces completely intact, get the CPU number from the
file in blkparse instead. Without this change, it's impossible for other
users to verify the sanity and version of a trace.

19 years ago - Improved error handling
Jens Axboe [Mon, 29 Aug 2005 06:45:19 +0000 (08:45 +0200)]
- Improved error handling
- Remove _dat files, include the payload in _out
- Support for payload > 64 bytes
- Add install target
- Fix RELAYFS Kconfig selection (kernel patch)

19 years agoChangelog
Jens Axboe [Sat, 27 Aug 2005 12:17:09 +0000 (14:17 +0200)]
Changelog

19 years agoVarious cleanups and killing unused variables
Jens Axboe [Sat, 27 Aug 2005 12:16:56 +0000 (14:16 +0200)]
Various cleanups and killing unused variables

19 years agoFixed the sorting and parsing of traces with payloads
Jens Axboe [Sat, 27 Aug 2005 07:38:00 +0000 (09:38 +0200)]
Fixed the sorting and parsing of traces with payloads

19 years agoblkparse doesn't take a NR_CPU argument anymore
Jens Axboe [Fri, 26 Aug 2005 12:38:26 +0000 (14:38 +0200)]
blkparse doesn't take a NR_CPU argument anymore

19 years agoAdd the required relayfs-read update patch as well
Jens Axboe [Fri, 26 Aug 2005 12:21:40 +0000 (14:21 +0200)]
Add the required relayfs-read update patch as well

19 years agoUpdate README and add kernel patch
Jens Axboe [Fri, 26 Aug 2005 12:19:57 +0000 (14:19 +0200)]
Update README and add kernel patch

19 years agoFix typo in last fix
Jens Axboe [Fri, 26 Aug 2005 12:13:28 +0000 (14:13 +0200)]
Fix typo in last fix

19 years agosprintf -> snprintf
Jens Axboe [Fri, 26 Aug 2005 12:12:09 +0000 (14:12 +0200)]
sprintf -> snprintf

19 years agoIncrease MAX_CPUS to 512. Use the full magic number for cpu number, not
Jens Axboe [Fri, 26 Aug 2005 12:06:49 +0000 (14:06 +0200)]
Increase MAX_CPUS to 512. Use the full magic number for cpu number, not
just the bottom 8 bits.

19 years agoInitial commit
Jens Axboe [Fri, 26 Aug 2005 11:49:39 +0000 (13:49 +0200)]
Initial commit