lkml.org 
[lkml]   [2009]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PULL] tracing/kprobes: Kprobes core/tracing/profiling updates

* Frederic Weisbecker <fweisbec@gmail.com> 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


\
 
 \ /
  Last update: 2009-09-23 23:49    [W:0.081 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site