]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/sandbox/cpu/os.c
sandbox: Support trace feature
[karo-tx-uboot.git] / arch / sandbox / cpu / os.c
index d07540776cc6a8d32fb58a18e752c738c761a06d..541e450bf602d684f22c0876b531e5a6fc586be4 100644 (file)
@@ -152,7 +152,7 @@ void os_usleep(unsigned long usec)
        usleep(usec);
 }
 
-u64 os_get_nsec(void)
+u64 __attribute__((no_instrument_function)) os_get_nsec(void)
 {
 #if defined(CLOCK_MONOTONIC) && defined(_POSIX_MONOTONIC_CLOCK)
        struct timespec tp;