linux-btrace.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC] Adding pit_plot.py
@ 2008-11-11 22:14 Alan D. Brunelle
  0 siblings, 0 replies; only message in thread
From: Alan D. Brunelle @ 2008-11-11 22:14 UTC (permalink / raw)
  To: linux-btrace

I'd appreciate it if has any comments on something I've been playing
with _before_ is push it out in the tree. Basically, it's another way to
visualize Q, D & C traces utilizing the xmgrace program. The work-flow
is something like:

% blktrace...
% blkparse -d bp.bin ...
% btt -i bp.bin -P pit ...
% pit_plot.py XXXXpit.dat
% xmgrace XXXXpit.agr

A quickly thrown together document can be found at:

http://free.linux.hp.com/~adb/2008-11-11/pit_plot.pdf

The (crudely crafted) Python script is at:

http://free.linux.hp.com/~adb/2008-11-11/pit_plot.py

And the proposed patch would be at:

http://free.linux.hp.com/~adb/2008-11-11/0001-Added-pit_plot.py.patch

with the synopsis being:

From d05c0f3c9349cd3db31946fa049609c12333dee2 Mon Sep 17 00:00:00 2001
From: Alan D. Brunelle <alan.brunelle@hp.com>
Date: Tue, 11 Nov 2008 17:03:37 -0500
Subject: [PATCH] Added pit_plot.py

Creates an xmgrace plot file from data generated by btt's -P option.

Refer to the documentation for more details.

Signed-off-by: Alan D. Brunelle <alan.brunelle@hp.com>
---
 Makefile                    |    2 +-
 btt/doc/Makefile            |   21 +-
 btt/doc/buttons.eps         |  392 ++
 btt/doc/magnifier-final.eps | 6057 +++++++++++++++++++++++++++++++
 btt/doc/magnifier-post.eps  | 6224 +++++++++++++++++++++++++++++++
 btt/doc/magnifier-pre.eps   | 8468
+++++++++++++++++++++++++++++++++++++++++++
 btt/doc/ori-screen.eps      | 8368
++++++++++++++++++++++++++++++++++++++++++
 btt/doc/pit_plot.tex        |  205 ++
 btt/pit_plot.py             |  475 +++
 9 files changed, 30206 insertions(+), 6 deletions(-)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-11 22:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-11 22:14 [PATCH RFC] Adding pit_plot.py Alan D. Brunelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).