Is PTRACE_SINGLEBLOCK buggy?

2008-06-02 Thread Renzo Davoli
Hi Roland, hi everybody, I have finished teaching my spring term so I am back working on utrace. I am porting my stuff about virtualquare kmview on the new version of kernels. I ran into something that seems to be a bug on PTRACE_SINGLEBLOCK. The source code here enclosed says OKAY on a

Re: Tracing Syscalls under Fedora 9

2008-06-09 Thread Renzo Davoli
On Fri, Jun 06, 2008 at 04:38:34PM +0200, Martin Süßkraut wrote: has the tracing of system calls changed in utrace between Fedora 8 and 9? For some reason the only way to trace the syscall is to trace also UTRACE_EVENT(SIGNAL_TERM) or CORE. I added an empty report_signal function and now

Re: UTRACE_STOP race condition?

2009-02-11 Thread Renzo Davoli
On Wed, Feb 11, 2009 at 09:45:15AM -0500, Frank Ch. Eigler wrote: This may not answer your question, but I believe it is not proper to to make this call at any time t1, only once you receive the quiesce callback. Maybe I am wrong but the quiesce callback gets called *before* the other report_*

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

[PATCH 1/2] UTRACE_STOP race condition (updated)

2009-03-12 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. I am trying to get the patches updated downloading, compiling and testing the fixes every week or so... Things would be

Re: [PATCH 2/3] utrace core

2009-03-21 Thread Renzo Davoli
On Sat, Mar 21, 2009 at 03:34:57PM +0100, Ingo Molnar wrote: * Renzo Davoli re...@cs.unibo.it wrote: Tracing does not mean only debug. Some tracing facilities can be used for virtualization. For example User-Mode Linux is based on ptrace. I have a prototype of kernel module

Bug: report_reap is never called

2009-09-05 Thread Renzo Davoli
Hi Ronald utrace developers I am back... I am upgrading my kmview support and I have stepped into a clear bug. in utrace_reap: -- list_for_each_entry_safe(engine, next, utrace-attached, entry) { ops = engine-ops; engine-ops = NULL; engine-flags = 0;

Re: linux-next: add utrace tree

2010-01-25 Thread Renzo Davoli
Let me add my two euro-cents to this discussion. Mark Wielaard m...@redhat.com: Unfortunately ptrace does all that magic already (badly). People don't just use it for (s)tracing syscalls, but also for tracing signals, for single step debugging and poking at memory, register state, for process

Re: [RFC v2 00/19] utrace for 3.0 kernel

2011-07-13 Thread Renzo Davoli
On Mon, Jul 11, 2011 at 06:19:33PM -0700, Josh Stone wrote: On 06/30/2011 05:20 PM, Oleg Nesterov wrote: TODO: - Testing. I ran the whole systemtap testsuite with a kernel built from your git tree, and did not see any utrace-specific issues. Thanks! I have got the git tree, too. I