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

From: Frederic Weisbecker
Date: Wed Sep 23 2009 - 17:24:50 EST


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

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).

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