Re: instruction-analysis API(s)

2009-03-06 Thread Jim Keniston
Quoting Masami Hiramatsu : Hi Jim and Sriker, Here, I almost rewrote my patch. Changelog: - rewrite decoding logic based on Intel' manual. - supoort insn_get_sib(),insn_get_displacement() and insn_get_immediate() too. - support 3 bytes opcode and 64bit immediate. - introduce some bitmaps. T

Re: [BUG] utrace_attach_task() never returns when called from the report_clone callback

2009-03-06 Thread Ananth N Mavinakayanahalli
On Fri, Mar 06, 2009 at 12:52:34PM -0800, Roland McGrath wrote: > > With the current utrace/master tree, I am seeing that utrace_attach_task() > > never returns when invoked from the clone callback. The same module > > works fine with prior utrace (rcu as well as with my embed version). > > I chan

Re: [BUG] utrace_attach_task() never returns when called from the report_clone callback

2009-03-06 Thread Ananth N Mavinakayanahalli
On Fri, Mar 06, 2009 at 12:52:34PM -0800, Roland McGrath wrote: > > With the current utrace/master tree, I am seeing that utrace_attach_task() > > never returns when invoked from the clone callback. The same module > > works fine with prior utrace (rcu as well as with my embed version). > > I chan

Re: [BUG] utrace_attach_task() never returns when called from the report_clone callback

2009-03-06 Thread Roland McGrath
> With the current utrace/master tree, I am seeing that utrace_attach_task() > never returns when invoked from the clone callback. The same module > works fine with prior utrace (rcu as well as with my embed version). I changed the utrace_attach_delay() logic recently. That is probably it. Please

Re: [PATCH] Embed struct utrace in task_struct - V2

2009-03-06 Thread Roland McGrath
> http://web.elastic.org/~fche/git/linux-2.6-utrace.git utrace-ftrace > > Frank Ch. Eigler (1): > utrace-based ftrace "process" engine, v2 Thanks, Frank. Your branch is now in my repo and its patch generated in 2.6-current/. I'll pull periodically, or let me know if my repo lags behind

Re: [PATCH] Embed struct utrace in task_struct - V2

2009-03-06 Thread Frank Ch. Eigler
Hi - On Tue, Mar 03, 2009 at 03:14:01PM -0800, Roland McGrath wrote: > > > * When we on the team think the utrace patch is ready to post, we need to > > > do a coordinated post of Frank's ftrace widget. [...] > > > > Would you consider simply merging it into your git tree / patch suite? > > S

[BUG] utrace_attach_task() never returns when called from the report_clone callback

2009-03-06 Thread Ananth N Mavinakayanahalli
Roland, With the current utrace/master tree, I am seeing that utrace_attach_task() never returns when invoked from the clone callback. The same module works fine with prior utrace (rcu as well as with my embed version). The testcase is simple: a. attach an engine to attachstop-mt (from the gdb te

Re: [PATCH] #2 UTRACE_STOP race condition & nesting

2009-03-06 Thread Renzo Davoli
Dear Roland, dear utrace developers, I have update also the second patch (which includes the first). This patch fixes the utrace_stop race condition and implements a consistent model of tracing engine nesting. renzo On Sat, Feb 14, 2009 at 10:11:55AM +0100, Renzo Davoli wrote: > > This is an u

Re: [PATCH] UTRACE_STOP race condition?

2009-03-06 Thread Renzo Davoli
Dear Roland, dear utrace developers, I have updated my patch #1 (it solves the race condition on utrace_stop but not the nesting issue) for the latest version of utrace. renzo On Fri, Feb 13, 2009 at 09:29:25PM +0100, Renzo Davoli wrote: > I have now a complete patch that seems to be quite stab