This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: CONFIG_RELAY and debugfs in SystemTap
- From: Masami Hiramatsu <masami dot hiramatsu dot pt at hitachi dot com>
- To: Tom Zanussi <zanussi at us dot ibm dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Thu, 14 Sep 2006 11:55:55 +0900
- Subject: Re: CONFIG_RELAY and debugfs in SystemTap
- Organization: Systems Development Lab., Hitachi, Ltd., Japan
- References: <17671.7993.350107.336401@tut.ibm.com>
Hi Tom,
Could you show me an actual patch of this change?
I'm interested in it.
Thanks,
Tom Zanussi wrote:
> As discussed last week, I've made some changes to the runtime allowing
> bulk mode (-b option) when using CONFIG_RELAY (kernel >= 2.6.17) to
> store the relay files in debugfs rather than their current location in
> /proc. Before I check them in though, I wanted to make sure nobody
> sees any problems in doing this.
>
> This change only affects systemtap running on systems with kernels >=
> 2.6.17 - for older kernels, the older CONFIG_RELAYFS runtime code is
> used as usual, and debugfs isn't needed. The bottom line is that in
> order to use bulk mode with kernels >= 2.6.17, you need to have
> CONFIG_DEBUG_FS turned on in the kernel. For reference, debugfs is
> turned on by default on Fedora kernels and SLES10 (but since SLES10
> uses a 2.6.16 kernel, it doesn't really matter at this point).
>
> Tom
>
--
Masami HIRAMATSU
2nd Research Dept.
Hitachi, Ltd., Systems Development Laboratory
E-mail: masami.hiramatsu.pt@hitachi.com