Re: [PATCH 5/7] gcov: add gcov profiling infrastructure

From: Arnd Bergmann
Date: Fri May 23 2008 - 05:30:22 EST


On Monday 19 May 2008, Peter Oberparleiter wrote:
> From: Peter Oberparleiter <peter.oberparleiter@xxxxxxxxxx>
>
> gcov profiling infrastructure:
>
> * change kbuild to include profiling flags
> * provide functions needed by profiling code
> * present profiling data as files in debugfs

Good stuff, thanks for finally pushing this upstream!

Regarding the use of debugfs, have you considered making your
own file system independent of that? Currently, you'd need
a lot of boilerplate code (basically a copy of debugs/inode.c),
but I think it'd be appropriate since you're adding more than
just a few simple files in debugfs.

Maybe we can talk next monday when I'm in the office, because
some time ago, I have already started a patch set that would
make it trivial to add a new debugfs-like file system.

Arnd <><
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/