Description of problem: Given this tiny program: #include <time.h> int main () { struct timespec t; clock_gettime(CLOCK_BOOTTIME, &t); return 0; } strace prints "0x7 /* CLOCK_??? */" instead of CLOCK_BOOTTIME Version-Release number of selected component (if applicable): strace-4.8-1.fc20.x86_64 How reproducible: every time Steps to Reproduce: 1. Compile the tiny program above 2. strace -e clock_gettime ./a.out 3. Observe clock_gettime system call Actual results: clock_gettime(0x7 /* CLOCK_??? */, {17973, 83774407}) = 0 Expected results: clock_gettime(CLOCK_BOOTTIME, {17973, 83774407}) = 0 Additional info: I've attached a proposed patch, but strace itself doesn't build with the current kernel and headers (some different problem I've not looked into). The patch itself is trivial though.
Created attachment 886932 [details] proposed patch
Fixed upstream: http://sourceforge.net/p/strace/code/ci/fb7ae846c66a70589ba68943680751f13a38663c/