Re: [GIT PULL] tracing/kprobes: Kprobes core/tracing/profilingupdates

From: Ingo Molnar
Date: Wed Sep 23 2009 - 17:47:02 EST



* Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:

> On Wed, Sep 23, 2009 at 12:52:52PM +0200, Ingo Molnar wrote:
> > Would be nice to merge latest -git into this tree and resolve the
> > conflicts:
> >
> > kernel/trace/Makefile
> > kernel/trace/trace.h
> > kernel/trace/trace_event_types.h
> > kernel/trace/trace_export.c
> >
> > Then i could pull it into tip:tracing/kprobes for more testing.
> >
> > Ingo
>
>
> I've just merged latest upstream tree into it and pushed
> that in a new branch:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing.git
> tracing/kprobes-v2

Pulled into tip:tracing/kprobes, thanks Frederic!

> There were several conflicts, not trivial. I hope I haven't missed
> something. But it boots well, I've tested a simple kprobe creation
> and fetched its events through perf without any problem.
>
> Thanks,
> Frederic.
>
> PS: I'd recommend you to define a name when you define a kprobe.
> For example if you want to get the first argument of sys_open,
> don't create it using:
>
> p sys_open a0
>
> but rather:
>
> p:my_probe_name sys_open a0
>
> Otherwise you will get a default kprobe name that doesn't seem
> to make perf trace happy (put in my TODO list).

ok. Right now it's in a cooking branch, tracing/kprobes. I merged it to
tip:master - we can propagate it to tracing/core once it's ready with
all known bugs and quirks fixed and with significant perf functionality
for it.

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