Re: [PATCH] x86: add the debugfs interface for the sysprof tool

From: Pekka Enberg
Date: Sat Feb 23 2008 - 06:52:15 EST


On Sat, Feb 23, 2008 at 10:11 AM, Andrew Morton
<akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> Seems a poor idea to me. Sure, oprofile is "hard to set up", but not if
> your distributor already did it for you.

Have you tried sysprof? It's really nice to setup and use compared to
oprofile when profiling user-space.

On Sat, Feb 23, 2008 at 10:11 AM, Andrew Morton
<akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> This code adds a new kernel->userspace interface which is not even
> documented in code comments. It appears to use a pollable debugfs file in
> /proc somewhere, carrying an unspecified payload.

Hmm, it does include <linux/proc_fs.h> but seems to set up a regular
debugfs directory (usually mounted in /sys/debug) and not proc. Arjan?
--
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/