xfs
[Top] [All Lists]

Re: [PATCH, RFC] xfs: event tracing support

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [PATCH, RFC] xfs: event tracing support
From: Felix Blyakher <felixb@xxxxxxx>
Date: Mon, 22 Jun 2009 13:01:35 -0500
Cc: xfs@xxxxxxxxxxx, Steven Rostedt <rostedt@xxxxxxxxxxx>
In-reply-to: <20090616214844.GA12310@xxxxxxxxxxxxx>
References: <20090616214844.GA12310@xxxxxxxxxxxxx>

On Jun 16, 2009, at 4:48 PM, Christoph Hellwig wrote:

Convert the old xfs tracing support that could only be used with the out
of tree kdb and xfsidbg patches to use the generic event tracer.

To use it make sure CONFIG_EVENT_TRACING is enabled and then enable all
xfs trace channels by:

  echo 1 > /sys/kernel/debug/tracing/events/xfs/enable

Does event tracing work on ia64 platform?
I spent some time on it over weekend, but was not able even
to force "CONFIG_EVENT_TRACING=y" setting in the .config.
Seems to build ok on x86_64, which does have CONFIG_TRACING
in defconfig, and allows to set CONFIG_EVENT_TRACING.

If tracing is not available on all platforms, especially
on ia64, which is one of preferred platforms at SGI, we need
to preserve the original XFS tracing facilities. I know, it'll
be PIA to keep both tracing methods, but we can't drop
the working feature without good replacement.

Hope, though, that I missed something on ia64, and it's
fixable.

Felix

<Prev in Thread] Current Thread [Next in Thread>