xfs
[Top] [All Lists]

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

To: Felix Blyakher <felixb@xxxxxxx>
Subject: Re: [PATCH, RFC] xfs: event tracing support
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Mon, 22 Jun 2009 16:59:04 -0400
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, Steven Rostedt <rostedt@xxxxxxxxxxx>, xfs@xxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx
In-reply-to: <4E752C93-A674-4725-AF23-C227C0A1E659@xxxxxxx>
References: <20090616214844.GA12310@xxxxxxxxxxxxx> <4E752C93-A674-4725-AF23-C227C0A1E659@xxxxxxx>
User-agent: Mutt/1.5.18 (2008-05-17)
On Mon, Jun 22, 2009 at 01:01:35PM -0500, Felix Blyakher wrote:
>> 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.

IA64 ftrace support was added earlier this year, but it seems it can't
be enabled anymore since the big config option reshuffle.  Now tracing
support requires the architecture to define the TRACE_IRQFLAGS_SUPPORT
and STACKTRACE_SUPPORT symbols, which seems to be missing on ia64.

> 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.

It's not working at all in mainline and never had.  And for about
a year thaere hasn't been any tree around that actuall supports it..

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