Re: [RFC] DTrace SYSCALL provider (was Re: [RFC] Saving the latest errno from syscalls.)

2010-03-16 Thread Jung-uk Kim
On Monday 15 March 2010 02:10 pm, Jung-uk Kim wrote: > On Friday 12 March 2010 01:32 pm, Jung-uk Kim wrote: > > On Friday 12 March 2010 04:29 am, Kostik Belousov wrote: > > > On Thu, Mar 11, 2010 at 06:15:07PM -0500, Jung-uk Kim wrote: > > > > On Thursday 11 March 2010 04:55 pm, Marcel Moolenaar wr

[RFC] DTrace SYSCALL provider (was Re: [RFC] Saving the latest errno from syscalls.)

2010-03-15 Thread Jung-uk Kim
On Friday 12 March 2010 01:32 pm, Jung-uk Kim wrote: > On Friday 12 March 2010 04:29 am, Kostik Belousov wrote: > > On Thu, Mar 11, 2010 at 06:15:07PM -0500, Jung-uk Kim wrote: > > > On Thursday 11 March 2010 04:55 pm, Marcel Moolenaar wrote: > > > > On Mar 11, 2010, at 1:24 PM, Jung-uk Kim wrote:

Re: [RFC] Saving the latest errno from syscalls.

2010-03-12 Thread Jung-uk Kim
On Friday 12 March 2010 04:29 am, Kostik Belousov wrote: > On Thu, Mar 11, 2010 at 06:15:07PM -0500, Jung-uk Kim wrote: > > On Thursday 11 March 2010 04:55 pm, Marcel Moolenaar wrote: > > > On Mar 11, 2010, at 1:24 PM, Jung-uk Kim wrote: > > > > While I was debugging syscalls, I found a very useful

Re: [RFC] Saving the latest errno from syscalls.

2010-03-12 Thread Kostik Belousov
On Thu, Mar 11, 2010 at 06:15:07PM -0500, Jung-uk Kim wrote: > On Thursday 11 March 2010 04:55 pm, Marcel Moolenaar wrote: > > On Mar 11, 2010, at 1:24 PM, Jung-uk Kim wrote: > > > While I was debugging syscalls, I found a very useful field in > > > struct thread, td_errno. It seems it was added f

Re: [RFC] Saving the latest errno from syscalls.

2010-03-11 Thread Jung-uk Kim
On Thursday 11 March 2010 04:55 pm, Marcel Moolenaar wrote: > On Mar 11, 2010, at 1:24 PM, Jung-uk Kim wrote: > > While I was debugging syscalls, I found a very useful field in > > struct thread, td_errno. It seems it was added for dtrace but it > > is only populated on amd64 and i386. Is the att

Re: [RFC] Saving the latest errno from syscalls.

2010-03-11 Thread Marcel Moolenaar
On Mar 11, 2010, at 1:24 PM, Jung-uk Kim wrote: > While I was debugging syscalls, I found a very useful field in struct > thread, td_errno. It seems it was added for dtrace but it is only > populated on amd64 and i386. Is the attached patch acceptable for > maintainers of other platforms? I

[RFC] Saving the latest errno from syscalls.

2010-03-11 Thread Jung-uk Kim
While I was debugging syscalls, I found a very useful field in struct thread, td_errno. It seems it was added for dtrace but it is only populated on amd64 and i386. Is the attached patch acceptable for maintainers of other platforms? Thanks, Jung-uk Kim Index: sys/arm/arm/trap.c