[lkml]   [2009]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [GIT PULL] tracing/kprobes: Kprobes core/tracing/profiling updates
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:


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.


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

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