|
From: richard -r. w. <ric...@gm...> - 2012-06-06 11:18:15
|
On Wed, Jun 6, 2012 at 12:56 PM, Lars Ekman G <lar...@er...> wrote:
> I am using UML-kernel; 3.0.26
>
> Anyway, this program;
>
> #include <stdio.h>
> #include <unistd.h>
> int main(int argc, char* argv[])
> {
> printf("_SC_NPROCESSORS_CONF = %d\n", sysconf(_SC_NPROCESSORS_CONF));
> printf("_SC_NPROCESSORS_ONLN = %d\n", sysconf(_SC_NPROCESSORS_ONLN));
> return 0;
> }
>
> prints;
>
> _SC_NPROCESSORS_CONF = 0
> _SC_NPROCESSORS_ONLN = 1
>
> I found this when using http://lttng.org/ust on UML.
> It "almost worked". In fact everything except "lttng start"
> seems to work. I patched LTTng to fix the problem.
>
> The problem took a few hours to find so I post this
> just in case.
Thanks a lot for reporting this!
What glibc-version are you using?
--
Thanks,
//richard
|