Re: [PATCH 0/4] uprobes: Teach debug/tracing/uprobe_events to dothe filtering
From: Oleg Nesterov
Date: Thu Jan 31 2013 - 12:05:54 EST
On 01/27, Oleg Nesterov wrote:
>
> Based on git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc uprobes/core
> on top of pre-filtering patches in kernel/uprobes.c.
>
> Please review.
Self-NACK.
Everything seems to work, including the additional cleanupe I sent,
but:
> After that I'll try to change tools/perf to use this new feature.
this can't help perf.
I never used it before so I naively thought that it writes to
tracing/uprobe_events and does perf_event_open(id) in the single
session, but this is not true.
I'll try to do something else. It seems that we can use
TRACE_REG_PERF_OPEN rather than TRACE_REG_PERF_REGISTER and
exploit event->ctx->task->mm to implement the pre-filtering...
Oleg.
--
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/