[lttng-dev] [RFC PATCH 1/1] check if set_schedaffinity works in configure.ac

Nathan Lynch Nathan_Lynch at mentor.com
Mon Jun 9 14:52:38 EDT 2014


On 06/08/2014 03:18 PM, Pranith Kumar wrote:
> On 06/08/2014 04:15 PM, Pranith Kumar wrote:
>> On some systems set_schedaffinity exists but return "-1" when
>> called. Tests fail in such cases ("test_urcu_hash")
>> 
>> Check if we can call set_schedaffinity and define accordingly
> I just realized that this is a common mailing list. This is for
> userspace-rcu library. I am trying to use it on an Nvidia Tegra K1
> device.

It seems odd that sched_setaffinity would fail... what is the value of
errno associated with the failed calls?

(Also, you have the name of the function right in your patch, but need
to correct it in the patch subject and description --
"sched_setaffinity" not "set_schedaffinity".)




More information about the lttng-dev mailing list