Re: [RFC Patch 4/5] PERF-HW_HBKPT: Enable perf-events to usehw-breakpoints

From: Frederic Weisbecker
Date: Sat Nov 21 2009 - 21:52:08 EST


On Fri, Oct 30, 2009 at 03:52:23AM +0530, K.Prasad wrote:
> Enable perf-events to collect memory access statistics on kernel-space
> data in the context of a running process.
>
> Signed-off-by: K.Prasad <prasad@xxxxxxxxxxxxxxxxxx>



I'm going to take the userspace part of this patch to integrate breakpoints
in perf tools.

But I'm not sure passing the name of the symbol to the kernel and store
it in the perf attr is a good idea.
We should probably resolve the name from userspace and pass the address
to the kernel. Mostly because if we want to support breakpoints in
userspace apps, we don't want conflicts between kernel and userspace
symbols.

Thanks.

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