From: Lars E. G <lar...@er...> - 2012-06-06 10:56:57
|
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 |