From: Steven Rostedt <rostedt@goodmis.org>
To: Vivek Goyal <vgoyal@redhat.com>
Cc: Dominik Klein <dk@in-telegence.net>, Tejun Heo <tj@kernel.org>,
linux kernel mailing list <linux-kernel@vger.kernel.org>,
libvir-list@redhat.com
Subject: Re: Is it a workqueue related issue in 2.6.37 (Was: Re: [libvirt] blkio cgroup [solved])
Date: Fri, 25 Feb 2011 21:47:40 -0500 [thread overview]
Message-ID: <1298688460.6376.34.camel@gandalf.stny.rr.com> (raw)
In-Reply-To: <20110225201830.GK2994@redhat.com>
On Fri, 2011-02-25 at 15:18 -0500, Vivek Goyal wrote:
> Thanks Steve. In this case this feature of sending trace data over
> network would have helped. We were running into issues where IO scheduler
> was freezing so we could not read anything from disk(including saved traces).
> Hence we were directing everything to console and then doing copy paste.
>
> So sending it over network would have probably worked even in this case.
>
> Will give trace-cmd a try next time.
Hi Vivek,
I just pushed out a hack that lets trace-cmd read the blktrace.
I found that the blktrace never exported its structure to
the /debug/tracing/events/ftrace/blktrace/format. So userspace has no
real way to know how to parse it.
Instead, I wrote a hack that creates this file semi dynamically, based
on the information of other events. I also copied a lot of the blktrace
code from the kernel so that it can print out the same format.
You need to install the plugin that is built with trace-cmd. It will
either be automatically installed if you do a make install, but if you
do not have root access, just cp the plugin_blk.so into
~/.trace-cmd/plugins directory (you may need to make that directory
yourself). Then when you run trace-cmd report on a file made with the
blk tracer, it will give you a nice output.
If you already have a trace.dat file from a previous extract, you don't
need to run the trace again. The trace-cmd report will work on that file
now.
I'll be heading out to NYC on Monday for the End Users Conf and this
weekend I need to get all my chores done around the house for the misses
to let me go ;) Thus, I wont be doing much more till I get back at the
end of next week.
-- Steve
prev parent reply other threads:[~2011-02-26 2:47 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20110218163137.GF26654@redhat.com>
[not found] ` <4D621B9B.3070205@in-telegence.net>
[not found] ` <4D622002.2040604@in-telegence.net>
[not found] ` <4D6222A8.6090303@in-telegence.net>
[not found] ` <20110221184442.GM6428@redhat.com>
[not found] ` <4D63BA3B.7070809@in-telegence.net>
[not found] ` <20110222152426.GD28269@redhat.com>
[not found] ` <20110222190953.GF28269@redhat.com>
[not found] ` <4D650D7E.4050908@in-telegence.net>
[not found] ` <4D662248.6040405@in-telegence.net>
2011-02-24 14:23 ` Vivek Goyal
2011-02-24 14:31 ` Tejun Heo
2011-02-24 14:58 ` Dominik Klein
2011-02-24 15:17 ` Tejun Heo
2011-02-25 7:24 ` Dominik Klein
2011-02-25 11:29 ` Tejun Heo
2011-02-25 11:46 ` Dominik Klein
2011-02-25 13:18 ` Tejun Heo
2011-02-25 14:41 ` Dominik Klein
2011-02-25 14:55 ` Tejun Heo
2011-02-25 14:57 ` Vivek Goyal
2011-02-25 15:03 ` Tejun Heo
2011-02-25 15:11 ` Vivek Goyal
2011-02-25 15:15 ` Vivek Goyal
2011-02-25 16:03 ` Vivek Goyal
2011-02-25 16:09 ` Tejun Heo
2011-02-25 16:19 ` Vivek Goyal
2011-02-25 16:30 ` Vivek Goyal
2011-02-25 16:56 ` Dominik Klein
2011-02-25 19:53 ` Steven Rostedt
2011-02-25 20:18 ` Vivek Goyal
2011-02-26 2:47 ` Steven Rostedt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1298688460.6376.34.camel@gandalf.stny.rr.com \
--to=rostedt@goodmis.org \
--cc=dk@in-telegence.net \
--cc=libvir-list@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tj@kernel.org \
--cc=vgoyal@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®