Re: [lttng-dev] [RFC] wfcqueue: allow defining CDS_WFCQ_WAIT_SLEEP to override `poll'

2018-08-17 Thread Eric Wong
Mathieu Desnoyers  wrote:
> - On Aug 1, 2018, at 2:54 PM, Eric Wong normalper...@yhbt.net wrote:
> 
> > Users may want to use alternative sleeping behavior instead of
> > `poll'.  Make CDS_WFCQ_WAIT_SLEEP a macro which may be defined
> > before including wfcqueue.h.
> > 
> > This alternative behavior could include logging, performing
> > low-priority cleanup work, sleeping a shorter/longer interval
> > or any combination of that.
> > 
> > This will also make integration into glibc easier, as `poll'
> > linkage causes conformance test failures even when relegated
> > to an impossible code path:
> > https://public-inbox.org/libc-alpha/20180801092626.jrwyrojfye4avcis@whir/
> 
> Rather than introducing a macro here, can we extend the API to
> pass a callback and a private pointer that would perform the
> sleeping behavior requested by the caller ?

Given this is deep in the call stack, it would require modifying
a lot of callers.  So it seems like a compatibility/migration
nightmare.  I fear it's too much work for a small improvement.

For glibc, we can simply define `poll' to `__poll' to avoid
those test failures, at least
___
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


[lttng-dev] [CFP] Call For Presentations reminder and registration for Tracing Summit 2018 on Oct 25th in Edinburgh, UK

2018-08-17 Thread Francis Deslauriers
Hi all,

This is a friendly reminder that the deadline for submitting talk proposals for
Tracing Summit 2018[1] is coming up soon (Sept 1st). Submit you talk today
using submiss...@tracingsummit.org and don't forget to include the following:
- Talk title,
- Talk abstract (900 characters maximum),
- Description of the targeted audience (900 characters maximum),
- Short biography (900 characters maximum).

The Tracing Summit 2018 will be held in Edinburgh, UK on October 25th, 2018, at
the Edinburgh International Conference Centre, co-located with the Open Source
Summit & Embedded Linux Conference 2018.

You can register right now either through the Open Source Summit Europe
registration page[2] by adding the free Tracing Summit addon or by registering
specifically for the Tracing Summit using this registration form[3].

Thank you,

On behalf of the Diagnostic and Monitoring Workgroup,
Francis Deslauriers

[1] https://tracingsummit.org/wiki/TracingSummit2018
[2] https://www.regonline.com/OSSEU2018
[3] https://regonline.com/tracingsummit18
___
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev