On Mar 22, 2015, at 18:08, Mateusz Guzik wrote:
>
> On Mon, Feb 09, 2015 at 11:13:51PM +, Rui Paulo wrote:
>> Author: rpaulo
>> Date: Mon Feb 9 23:13:50 2015
>> New Revision: 278479
>> URL: https://svnweb.freebsd.org/changeset/base/278479
>>
>> Log:
>> Notify devd(8) when a process crashed
On Mon, Feb 09, 2015 at 11:13:51PM +, Rui Paulo wrote:
> Author: rpaulo
> Date: Mon Feb 9 23:13:50 2015
> New Revision: 278479
> URL: https://svnweb.freebsd.org/changeset/base/278479
>
> Log:
> Notify devd(8) when a process crashed.
>
> This change implements a notification (via devctl
[[ I know I’m a little behind… ]]
> On Feb 10, 2015, at 7:16 AM, John Baldwin wrote:
>
> On Monday, February 09, 2015 11:13:51 PM Rui Paulo wrote:
>> Author: rpaulo
>> Date: Mon Feb 9 23:13:50 2015
>> New Revision: 278479
>> URL: https://svnweb.freebsd.org/changeset/base/278479
>>
>> Log:
>>
On Tue, 2015-02-10 at 12:15 -0800, John-Mark Gurney wrote:
> John Baldwin wrote this message on Tue, Feb 10, 2015 at 10:36 -0500:
> > > I think devd grows these things because it's easier than teaching the
> > > devctl interface to support multiple listeners.
> >
> > That wasn't really my question
On Tue, Feb 10, 2015 at 06:55:28PM +, Rui Paulo wrote:
> On Feb 10, 2015, at 10:52 AM, Slawa Olhovchenkov wrote:
> For common case (I am not talk about current devd implementation -- I
> am don't have any inforamtion/metrics/etc) routing and processing
> events may be sensitive to delay and o
John Baldwin wrote this message on Tue, Feb 10, 2015 at 10:36 -0500:
> > I think devd grows these things because it's easier than teaching the
> > devctl interface to support multiple listeners.
>
> That wasn't really my question. My question was if we want distinct streams
> or if we want want
On Feb 10, 2015, at 10:52 AM, Slawa Olhovchenkov wrote:
For common case (I am not talk about current devd implementation -- I
am don't have any inforamtion/metrics/etc) routing and processing
events may be sensitive to delay and ordering: may be exist
requirement 'delay not more then 700ns', may
On Tue, Feb 10, 2015 at 06:30:27PM +, Rui Paulo wrote:
> On Feb 10, 2015, at 07:37 AM, John Baldwin wrote:
> That wasn't really my question. My question was if we want distinct streams
> or if we want want unified stream. Having a unified stream might very well
> make sense (and if so we co
On 10 Feb 2015, at 18:30, Rui Paulo wrote:
>
> Another thing I had in mind (which is more work) was to abstract the devctl
> kernel code in an API which could make it easy to fan out the notifications
> to multiple /dev devices. However, that may be overkill.
This kind of notification is some
On Feb 10, 2015, at 07:37 AM, John Baldwin wrote:
That wasn't really my question. My question was if we want distinct streams
or if we want want unified stream. Having a unified stream might very well
make sense (and if so we could rename devd to make that more obvious).
I'm fine with renamin
On Tue, 2015-02-10 at 07:06 -0800, Adrian Chadd wrote:
> On 10 February 2015 at 06:16, John Baldwin wrote:
> > On Monday, February 09, 2015 11:13:51 PM Rui Paulo wrote:
> >> Author: rpaulo
> >> Date: Mon Feb 9 23:13:50 2015
> >> New Revision: 278479
> >> URL: https://svnweb.freebsd.org/changeset/
On Tuesday, February 10, 2015 07:06:03 AM Adrian Chadd wrote:
> On 10 February 2015 at 06:16, John Baldwin wrote:
> > On Monday, February 09, 2015 11:13:51 PM Rui Paulo wrote:
> >> Author: rpaulo
> >> Date: Mon Feb 9 23:13:50 2015
> >> New Revision: 278479
> >> URL: https://svnweb.freebsd.org/cha
On Tue, Feb 10, 2015 at 07:06:03AM -0800, Adrian Chadd wrote:
> On 10 February 2015 at 06:16, John Baldwin wrote:
> > On Monday, February 09, 2015 11:13:51 PM Rui Paulo wrote:
> >> Author: rpaulo
> >> Date: Mon Feb 9 23:13:50 2015
> >> New Revision: 278479
> >> URL: https://svnweb.freebsd.org/ch
On 10 February 2015 at 06:16, John Baldwin wrote:
> On Monday, February 09, 2015 11:13:51 PM Rui Paulo wrote:
>> Author: rpaulo
>> Date: Mon Feb 9 23:13:50 2015
>> New Revision: 278479
>> URL: https://svnweb.freebsd.org/changeset/base/278479
>>
>> Log:
>> Notify devd(8) when a process crashed.
On Monday, February 09, 2015 11:13:51 PM Rui Paulo wrote:
> Author: rpaulo
> Date: Mon Feb 9 23:13:50 2015
> New Revision: 278479
> URL: https://svnweb.freebsd.org/changeset/base/278479
>
> Log:
> Notify devd(8) when a process crashed.
>
> This change implements a notification (via devctl) t
On Mon, Feb 09, 2015 at 06:57:36PM -0800, Rui Paulo wrote:
> On Feb 9, 2015, at 18:43, Mateusz Guzik wrote:
> >
> > On Mon, Feb 09, 2015 at 11:13:51PM +, Rui Paulo wrote:
> >> +notify 10 {
> >> + match "system" "kernel";
> >> + match "subsystem" "signal";
> >> + match "type"
On Mon, Feb 09, 2015 at 06:35:55PM -0800, Rui Paulo wrote:
> On Feb 9, 2015, at 15:28, Konstantin Belousov wrote:
> > Arguably, there should be a knob, probably sysctl, to turn the
> > functionality off. I definitely do not want this on crash boxes used for
> > userspace debugging. Even despite t
On 9 Feb, Don Lewis wrote:
> On 10 Feb, Mateusz Guzik wrote:
>> On Mon, Feb 09, 2015 at 11:13:51PM +, Rui Paulo wrote:
>>> +notify 10 {
>>> + match "system" "kernel";
>>> + match "subsystem" "signal";
>>> + match "type""coredump";
>>> + action "logger $comm $
On Feb 9, 2015, at 19:11, Don Lewis wrote:
>
> On 10 Feb, Mateusz Guzik wrote:
>> On Mon, Feb 09, 2015 at 11:13:51PM +, Rui Paulo wrote:
>>> +notify 10 {
>>> + match "system" "kernel";
>>> + match "subsystem" "signal";
>>> + match "type""coredump";
>>> + act
On 10 Feb, Mateusz Guzik wrote:
> On Mon, Feb 09, 2015 at 11:13:51PM +, Rui Paulo wrote:
>> +notify 10 {
>> +match "system" "kernel";
>> +match "subsystem" "signal";
>> +match "type""coredump";
>> +action "logger $comm $core";
>> +};
>> +
>> */
>>
>
On Feb 9, 2015, at 18:43, Mateusz Guzik wrote:
>
> On Mon, Feb 09, 2015 at 11:13:51PM +, Rui Paulo wrote:
>> +notify 10 {
>> +match "system" "kernel";
>> +match "subsystem" "signal";
>> +match "type""coredump";
>> +action "logger $comm $core";
>> +};
On Mon, Feb 09, 2015 at 11:13:51PM +, Rui Paulo wrote:
> +notify 10 {
> + match "system" "kernel";
> + match "subsystem" "signal";
> + match "type""coredump";
> + action "logger $comm $core";
> +};
> +
> */
>
[..]
> + if (vn_fullpath_global(td, p
On Feb 9, 2015, at 15:28, Konstantin Belousov wrote:
> Arguably, there should be a knob, probably sysctl, to turn the
> functionality off. I definitely do not want this on crash boxes used for
> userspace debugging. Even despite the example handler is inactive.
OK, I can provide a sysctl knob.
On Feb 9, 2015, at 15:29, Benjamin Kaduk wrote:
> The question boils down to: is the time saved by implementing it this way
> worth the tradeoff of architectural purity.
Yes, that was a tradeoff.
--
Rui Paulo
___
svn-src-all@freebsd.org mailing lis
On Mon, 2015-02-09 at 18:29 -0500, Benjamin Kaduk wrote:
> On Mon, Feb 9, 2015 at 6:22 PM, Rui Paulo wrote:
>
> > On Feb 09, 2015, at 03:16 PM, Benjamin Kaduk wrote:
> >
> >
> > What advantage does putting this in devd have over a standalone daemon for
> > crash reporting? Is it just the ease o
On Mon, Feb 9, 2015 at 6:22 PM, Rui Paulo wrote:
> On Feb 09, 2015, at 03:16 PM, Benjamin Kaduk wrote:
>
>
> What advantage does putting this in devd have over a standalone daemon for
> crash reporting? Is it just the ease of implementation to leverage the
> existing infrastructure?
>
>
> Well,
On Mon, Feb 09, 2015 at 11:13:51PM +, Rui Paulo wrote:
> Author: rpaulo
> Date: Mon Feb 9 23:13:50 2015
> New Revision: 278479
> URL: https://svnweb.freebsd.org/changeset/base/278479
>
> Log:
> Notify devd(8) when a process crashed.
>
> This change implements a notification (via devctl
On Feb 09, 2015, at 03:16 PM, Benjamin Kaduk wrote:
On Mon, Feb 9, 2015 at 6:13 PM, Rui Paulo wrote:
Author: rpaulo
Date: Mon Feb 9 23:13:50 2015
New Revision: 278479
URL: https://svnweb.freebsd.org/changeset/base/278479
Log:
Notify devd(8) when a process crashed.
This change implements
On Mon, Feb 9, 2015 at 6:13 PM, Rui Paulo wrote:
> Author: rpaulo
> Date: Mon Feb 9 23:13:50 2015
> New Revision: 278479
> URL: https://svnweb.freebsd.org/changeset/base/278479
>
> Log:
> Notify devd(8) when a process crashed.
>
> This change implements a notification (via devctl) to userlan
Author: rpaulo
Date: Mon Feb 9 23:13:50 2015
New Revision: 278479
URL: https://svnweb.freebsd.org/changeset/base/278479
Log:
Notify devd(8) when a process crashed.
This change implements a notification (via devctl) to userland when
the kernel produces coredumps after a process has crashe
30 matches
Mail list logo