Hello,
This may be caused by a bad configuration, or it may have been
corrected already. In that case I apologize.
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.
Best Regards,
Lars Ekman
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user