Re: [Linuxptp-devel] [PATCH] add report of PTP_SYS_OFFSET_PRECISE support to phc_ctl

2018-08-18 Thread Richard Cochran
On Thu, Aug 16, 2018 at 03:22:51PM +, FUSTE Emmanuel wrote: > diff --git a/phc_ctl.c b/phc_ctl.c > index 4a78a19..f6234da 100644 > --- a/phc_ctl.c > +++ b/phc_ctl.c > @@ -353,12 +353,14 @@ static int do_caps(clockid_t clkid, int cmdc, char > *cmdv[]) > " %d programable alarms\n"

Re: [Linuxptp-devel] event hooks implementation

2018-08-18 Thread Richard Cochran
On Mon, Aug 06, 2018 at 05:29:09PM +0200, Michael Walle wrote: > Would an implemention (like execute some shell scripts on specific events) > inside linuxptp be accepted at all? No. Even though it seems like the easy way, in the end it will prove brittle. Every one will want their own special ho

Re: [Linuxptp-devel] [PATCH] clock: Remove subscriber if an error occured.

2018-08-18 Thread Richard Cochran
On Tue, Jul 31, 2018 at 10:46:50AM +0200, Michael Walle wrote: > If the uds transport returns an error, the subscriber is automatically > removed. Can you please explain: a) the problem, and b) how this resolves it I wonder whether there might be a transient error, in which case it would make