login
Header Space

 
 

Mailing list archives

Search results

Found 23 matching messages (0.117 seconds). Page 1 of 2.

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... include running gdb with watchpoints). > But kwatch as it stands does ... to manage shared use of the debug > registers, such as your ... of > the way when user-mode decides to use all its ... that giving a machine-independent kernel > source API for talking about ...

linux-kernel - Alan Stern - Feb 6 2007 - 15:58

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... should be _GPL as they're fairly lowlevel. Btw, the naming ... define _ASM_KWATCH_H > +/* > + * Kernel Watchpoint interface. > + * include/asm-i386/kwatch.h > + * 2002 ... enables kernel-space data watchpoints using the processor's > + debug registers ...

linux-kernel - Christoph Hellwig - Jan 16 2007 - 19:35

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... much orthogonal to the utrace patch as it is so far. ... include running gdb with watchpoints). But kwatch as it stands does ... to manage shared use of the debug registers, such as your ... that giving a machine-independent kernel source API for talking about ...

linux-kernel - Roland McGrath - Feb 6 2007 - 00:25

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... before. It looks like your patch handles this correctly, but > it ... ptrace) to see what happened. Kernel > watchpoints that come along after ... when a debug register is in use by kwatch and a ... the same kwatch watchpoint is stored in different debug registers on ...

linux-kernel - Alan Stern - Feb 9 2007 - 11:54

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... context switch, which already switches in debug register values. The local vs global ... s true that kwatch is intended > _only_ for kernelspace watchpoints, not userspace. ... More majordomo info at http://vger.kernel.org/majordomo-info.html Please read ...

linux-kernel - Roland McGrath - Feb 6 2007 - 22:56

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... processes which need a > > particular register aren't running -- should the ... when they're recorded as a single global use count per ... drN, kwatch has to give it up for all CPUs (watchpoints ... majordomo info at http://vger.kernel.org/majordomo-info.html Please ...

linux-kernel - Alan Stern - Feb 10 2007 - 00:32

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... 's in fact subject to confusion when two watchpoints are set ... matter. Should a register be allocated to > kwatch only when no ... when they're recorded as a single global use count per ... majordomo info at http://vger.kernel.org/majordomo-info.html Please ...

linux-kernel - Roland McGrath - Feb 9 2007 - 19:31

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... > I think you should split this into two patches, one for the debugreg > infrastructure, and one for ... > + depends on EXPERIMENTAL > > + help > > + Kwatch enables kernel-space data watchpoints using the processor's > > + debug registers. It can be ...

linux-kernel - Alan Stern - Jan 17 2007 - 12:33

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... to catch up, so I think kwatch should definitely comes > > first. > > i disagree. ... on the legacy ptrace mechanism for setting debug registers in the target process's user ... It is intended for setting up watchpoints in kernel space. In that sense it ...

linux-kernel - Alan Stern - Jan 18 2007 - 11:37

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... plan for implementing combined user/kernel mode breakpoints and watchpoints (call them "debugpoints" as ... won't need to be a separate kwatch facility on top of it; the ... new scheme will completely virtualize the debug registers. So for example, a ptrace ...

linux-kernel - Alan Stern - Feb 21 2007 - 16:35

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... in the address range containing kernel code. SIGTRAP both doesn't ... scheme will completely virtualize the debug > registers. So for example, a ... user" in the sense you're defining it. It's an ... virtual CPU context. You can use ptrace to set a watchpoint ...

linux-kernel - Roland McGrath - Feb 22 2007 - 22:19

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... program using the ptrace API ever give up a > debug-register ... before. It looks like your patch handles this correctly, but it ... ptrace) to see what happened. Kernel watchpoints that come along after ... it is do_debug, and a kwatch hit bails out before changing ...

linux-kernel - Roland McGrath - Feb 9 2007 - 06:21

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... want priorities among user-mode watchpoint users too. ptrace is > rigid, ... program using the ptrace API ever give up a debug-register ... it in dr7, and then re-enable it in the expectation ... majordomo info at http://vger.kernel.org/majordomo-info.html Please ...

linux-kernel - Alan Stern - Feb 7 2007 - 15:22

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... do_debug() clears dr7 when a debug interrupt is > > fielded. As a ... need to be a > > separate kwatch facility on top of it; ... virtual CPU context. You can use ptrace to set a watchpoint ... majordomo info at http://vger.kernel.org/majordomo-info.html Please ...

linux-kernel - Alan Stern - Feb 23 2007 - 12:55

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... > This patch (as839) implements the Kwatch (kernel-space hardware-based > > watchpoints) ... , which nicely modularizes all hardware debugging > capabilities and detaches it from ptrace ... majordomo info at http://vger.kernel.org/majordomo-info.html Please ...

linux-kernel - Alan Stern - Jan 17 2007 - 12:17

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... That would naturally embed in struct kwatch. Having the debugreg allocation routines pass ... fact shared, the storage requirements for using watchpoints in many-threaded processes scale ... majordomo info at http://vger.kernel.org/majordomo-info.html Please ...

linux-kernel - Roland McGrath - Feb 17 2007 - 23:03

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... > This patch (as839) implements the Kwatch (kernel-space hardware-based > watchpoints) ... , which nicely modularizes all hardware debugging capabilities and detaches it from ptrace ... More majordomo info at http://vger.kernel.org/majordomo-info.html Please ...

linux-kernel - Ingo Molnar - Jan 17 2007 - 05:44

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... to catch up, so I think kwatch should definitely comes > > first. > > i disagree. ... doesn't provide any kind of watchpoint infrastructure now, and utrace will take a ... org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read ...

linux-kernel - Christoph Hellwig - Jan 18 2007 - 18:33

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... include the current > > version of kwatch now or to wait for ... catch up, so I think kwatch should definitely comes > first. i ... 's in we can add debugging features ontop of that. To ... majordomo info at http://vger.kernel.org/majordomo-info.html Please ...

linux-kernel - Ingo Molnar - Jan 18 2007 - 03:31

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

... include the current version of kwatch > now or to wait for ... catch up, so I think kwatch should definitely comes first. - To ... send the line "unsubscribe linux-kernel" in the body of a ... majordomo info at http://vger.kernel.org/majordomo-info.html Please ...

linux-kernel - Christoph Hellwig - Jan 17 2007 - 20:12

speck-geostationary