<div dir="ltr"><div><div><div><div>Well i have changed permission of clock.test to 100755 so i guess we should not get a permission denied error now and also those whitespace are also eliminated or atleast it doea not shoe in git am <patch> but i am getting this kind of errors what are they? (still learning git,go easy on me.)<br><br></div>$ git am 0001-Implemented-e-trace-clock-option.patch<br><br>Applying: Implemented -e trace=%clock option.<br>error: patch failed: linux/32/syscallent.h:117<br>error: linux/32/syscallent.h: patch does not apply<br>error: patch failed: linux/64/syscallent.h:110<br>error: linux/64/syscallent.h: patch does not apply<br>error: patch failed: linux/alpha/syscallent.h:381<br>error: linux/alpha/syscallent.h: patch does not apply<br>error: patch failed: linux/arm/syscallent.h:286<br>error: linux/arm/syscallent.h: patch does not apply<br>error: patch failed: linux/avr32/syscallent.h:240<br>error: linux/avr32/syscallent.h: patch does not apply<br>error: patch failed: linux/bfin/syscallent.h:290<br>error: linux/bfin/syscallent.h: patch does not apply<br>error: patch failed: linux/crisv10/syscallent.h:258<br>error: linux/crisv10/syscallent.h: patch does not apply<br>error: patch failed: linux/hppa/syscallent.h:257<br>error: linux/hppa/syscallent.h: patch does not apply<br>error: patch failed: linux/i386/syscallent.h:289<br>error: linux/i386/syscallent.h: patch does not apply<br>error: patch failed: linux/ia64/syscallent.h:270<br>error: linux/ia64/syscallent.h: patch does not apply<br>error: patch failed: linux/m68k/syscallent.h:284<br>error: linux/m68k/syscallent.h: patch does not apply<br>error: patch failed: linux/microblaze/syscallent.h:289<br>error: linux/microblaze/syscallent.h: patch does not apply<br>error: patch failed: linux/mips/syscallent-n32.h:225<br>error: linux/mips/syscallent-n32.h: patch does not apply<br>error: patch failed: linux/mips/syscallent-n64.h:221<br>error: linux/mips/syscallent-n64.h: patch does not apply<br>error: patch failed: linux/mips/syscallent-o32.h:262<br>error: linux/mips/syscallent-o32.h: patch does not apply<br>error: patch failed: linux/powerpc/syscallent.h:271<br>error: linux/powerpc/syscallent.h: patch does not apply<br>error: patch failed: linux/powerpc64/syscallent.h:266<br>error: linux/powerpc64/syscallent.h: patch does not apply<br>error: patch failed: linux/s390/syscallent.h:287<br>error: linux/s390/syscallent.h: patch does not apply<br>error: patch failed: linux/s390x/syscallent.h:271<br>error: linux/s390x/syscallent.h: patch does not apply<br>error: patch failed: linux/sh/syscallent.h:289<br>error: linux/sh/syscallent.h: patch does not apply<br>error: patch failed: linux/sh64/syscallent.h:315<br>error: linux/sh64/syscallent.h: patch does not apply<br>error: patch failed: linux/sparc/syscallent.h:254<br>error: linux/sparc/syscallent.h: patch does not apply<br>error: patch failed: linux/sparc64/syscallent.h:252<br>error: linux/sparc64/syscallent.h: patch does not apply<br>error: patch failed: linux/x32/syscallent.h:225<br>error: linux/x32/syscallent.h: patch does not apply<br>error: patch failed: linux/x86_64/syscallent.h:225<br>error: linux/x86_64/syscallent.h: patch does not apply<br>error: patch failed: linux/xtensa/syscallent.h:234<br>error: linux/xtensa/syscallent.h: patch does not apply<br>error: patch failed: qualify.c:220<br>error: qualify.c: patch does not apply<br>error: patch failed: strace.1:429<br>error: strace.1: patch does not apply<br>error: patch failed: syscall.c:77<br>error: syscall.c: patch does not apply<br>error: patch failed: sysent.h:22<br>error: sysent.h: patch does not apply<br>error: patch failed: tests/Makefile.am:331<br>error: tests/Makefile.am: patch does not apply<br>error: tests/clock.test: already exists in index<br>error: patch failed: tests/ksysent.c:41<br>error: tests/ksysent.c: patch does not apply<br>error: patch failed: tests/nsyscalls.c:42<br>error: tests/nsyscalls.c: patch does not apply<br>Patch failed at 0001 Implemented -e trace=%clock option.<br><br></div>And the patch.<br><br>From ada557be0d0c5ac45c5a6b9cca706b70812b2b53 Mon Sep 17 00:00:00 2001<br>From: Rishi Bhatt <<a href="mailto:bhat.rishi062@gmail.com">bhat.rishi062@gmail.com</a>><br>Date: Wed, 15 Mar 2017 16:17:03 +0530<br>Subject: [PATCH] Implemented -e trace=%clock option.<br><br>linux/*/syscallent.h part is modified automatically by:<br><br>    git grep -Fl 'SEN(clock_' linux/ | xargs sed -i \<br>        's/0\(,[[:space:]]*SEN(clock_\)/TC\1/'<br><br>* sysent.h (TRACE_CLOCK): New definition.<br>* syscall.c: Alias TC to TRACE_CLOCK around syscallent.h inclusion.<br>* linux/32/syscallent.h: Add TC flag for clock_* sycalls.<br>* linux/64/syscallent.h: Likewise.<br>* linux/alpha/syscallent.h: Likewise.<br>* linux/arm/syscallent.h: Likewise.<br>* linux/avr32/syscallent.h: Likewise.<br>* linux/bfin/syscallent.h: Likewise.<br>* linux/crisv10/syscallent.h: Likewise.<br>* linux/hppa/syscallent.h: Likewise.<br>* linux/i386/syscallent.h: Likewise.<br>* linux/ia64/syscallent.h: Likewise.<br>* linux/m68k/syscallent.h: Likewise.<br>* linux/microblaze/syscallent.h: Likewise.<br>* linux/mips/syscallent-n32.h: Likewise.<br>* linux/mips/syscallent-n64.h: Likewise.<br>* linux/mips/syscallent-o32.h: Likewise.<br>* linux/powerpc/syscallent.h: Likewise.<br>* linux/powerpc64/syscallent.h: Likewise.<br>* linux/s390/syscallent.h: Likewise.<br>* linux/s390x/syscallent.h: Likewise.<br>* linux/sh/syscallent.h: Likewise.<br>* linux/sh64/syscallent.h: Likewise.<br>* linux/sparc/syscallent.h: Likewise.<br>* linux/sparc64/syscallent.h: Likewise.<br>* linux/x32/syscallent.h: Likewise.<br>* linux/x86_64/syscallent.h: Likewise.<br>* linux/xtensa/syscallent.h: Likewise.<br>* qualify.c (lookup_class): Add TRACE_CLOCK for "%clock".<br>* tests/ksysent.c: Define TC to 0.<br>* tests/nsyscalls.c: Likewise.<br>* tests/clock.test: New test.<br>* tests/Makefile.am (DECODER_TESTS): Add clock.test.<br>* strace.1 (.SS Filtering): Add information about %clock syscall class.<br>---<br> linux/32/syscallent.h         | 10 +++++-----<br> linux/64/syscallent.h         | 10 +++++-----<br> linux/alpha/syscallent.h      | 10 +++++-----<br> linux/arm/syscallent.h        | 10 +++++-----<br> linux/avr32/syscallent.h      | 10 +++++-----<br> linux/bfin/syscallent.h       | 10 +++++-----<br> linux/crisv10/syscallent.h    | 10 +++++-----<br> linux/hppa/syscallent.h       | 10 +++++-----<br> linux/i386/syscallent.h       | 10 +++++-----<br> linux/ia64/syscallent.h       | 10 +++++-----<br> linux/m68k/syscallent.h       | 10 +++++-----<br> linux/microblaze/syscallent.h | 10 +++++-----<br> linux/mips/syscallent-n32.h   | 10 +++++-----<br> linux/mips/syscallent-n64.h   | 10 +++++-----<br> linux/mips/syscallent-o32.h   | 10 +++++-----<br> linux/powerpc/syscallent.h    | 10 +++++-----<br> linux/powerpc64/syscallent.h  | 10 +++++-----<br> linux/s390/syscallent.h       | 10 +++++-----<br> linux/s390x/syscallent.h      | 10 +++++-----<br> linux/sh/syscallent.h         | 10 +++++-----<br> linux/sh64/syscallent.h       | 10 +++++-----<br> linux/sparc/syscallent.h      | 10 +++++-----<br> linux/sparc64/syscallent.h    | 10 +++++-----<br> linux/x32/syscallent.h        | 10 +++++-----<br> linux/x86_64/syscallent.h     | 10 +++++-----<br> linux/xtensa/syscallent.h     | 10 +++++-----<br> qualify.c                     |  1 +<br> strace.1                      |  3 +++<br> syscall.c                     |  2 ++<br> sysent.h                      |  1 +<br> tests/Makefile.am             |  3 +--<br> tests/clock.test              | 41 +++++++++++++++++++++++++++++++++++++++++<br> tests/ksysent.c               |  1 +<br> tests/nsyscalls.c             |  1 +<br> 34 files changed, 181 insertions(+), 132 deletions(-)<br> create mode 100755 tests/clock.test<br><br>diff --git a/linux/32/syscallent.h b/linux/32/syscallent.h<br>index a8f95107..2e6fabbd 100644<br>--- a/linux/32/syscallent.h<br>+++ b/linux/32/syscallent.h<br>@@ -117,10 +117,10 @@<br> [109] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [110] = { 4,    0,        SEN(timer_settime),        "timer_settime"        },<br> [111] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[112] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[113] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[114] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[115] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[112] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[113] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[114] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[115] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [116] = { 3,    0,        SEN(syslog),            "syslog"        },<br> [117] = { 4,    0,        SEN(ptrace),            "ptrace"        },<br> [118] = { 2,    TSC,        SEN(sched_setparam),        "sched_setparam"    },<br>@@ -256,7 +256,7 @@<br> [263] = { 6,    TD|TF,        SEN(fanotify_mark),        "fanotify_mark"        },<br> [264] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [265] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[266] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[266] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [267] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [268] = { 2,    TD,        SEN(setns),            "setns"            },<br> [269] = { 4,    TN,        SEN(sendmmsg),            "sendmmsg"        },<br>diff --git a/linux/64/syscallent.h b/linux/64/syscallent.h<br>index b5a09d4f..7d045f7d 100644<br>--- a/linux/64/syscallent.h<br>+++ b/linux/64/syscallent.h<br>@@ -110,10 +110,10 @@<br> [109] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [110] = { 4,    0,        SEN(timer_settime),        "timer_settime"        },<br> [111] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[112] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[113] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[114] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[115] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[112] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[113] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[114] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[115] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [116] = { 3,    0,        SEN(syslog),            "syslog"        },<br> [117] = { 4,    0,        SEN(ptrace),            "ptrace"        },<br> [118] = { 2,    TSC,        SEN(sched_setparam),        "sched_setparam"    },<br>@@ -249,7 +249,7 @@<br> [263] = { 5,    TD|TF,        SEN(fanotify_mark),        "fanotify_mark"        },<br> [264] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [265] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[266] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[266] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [267] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [268] = { 2,    TD,        SEN(setns),            "setns"            },<br> [269] = { 4,    TN,        SEN(sendmmsg),            "sendmmsg"        },<br>diff --git a/linux/alpha/syscallent.h b/linux/alpha/syscallent.h<br>index 4449f221..6ded7df2 100644<br>--- a/linux/alpha/syscallent.h<br>+++ b/linux/alpha/syscallent.h<br>@@ -381,10 +381,10 @@<br> [416] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [417] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [418] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[419] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[420] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[421] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[422] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[419] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[420] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[421] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[422] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [423] = { 4,    TI,        SEN(semtimedop),        "semtimedop"        },<br> [424] = { 3,    TS,        SEN(tgkill),            "tgkill"        },<br> [425] = { 2,    TF,        SEN(stat64),            "stat64"        },<br>@@ -461,7 +461,7 @@<br> [496] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br> [497] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [498] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[499] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[499] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [500] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [501] = { 2,    TD,        SEN(setns),            "setns"            },<br> [502] = { 4,    TN,        SEN(accept4),            "accept4"        },<br>diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h<br>index ed9ec9ad..f4c8812c 100644<br>--- a/linux/arm/syscallent.h<br>+++ b/linux/arm/syscallent.h<br>@@ -286,10 +286,10 @@<br> [259] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [260] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [261] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[262] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[263] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[264] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[265] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[262] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[263] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[264] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[265] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [266] = { 3,    TF,        SEN(statfs64),            "statfs64"        },<br> [267] = { 3,    TD,        SEN(fstatfs64),            "fstatfs64"        },<br> [268] = { 3,    TS,        SEN(tgkill),            "tgkill"        },<br>@@ -396,7 +396,7 @@<br> [369] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br> [370] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [371] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[372] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[372] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [373] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [374] = { 4,    TN,        SEN(sendmmsg),            "sendmmsg"        },<br> [375] = { 2,    TD,        SEN(setns),            "setns"            },<br>diff --git a/linux/avr32/syscallent.h b/linux/avr32/syscallent.h<br>index 7f50934b..d174ccac 100644<br>--- a/linux/avr32/syscallent.h<br>+++ b/linux/avr32/syscallent.h<br>@@ -240,10 +240,10 @@<br> [212] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [213] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [214] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[215] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[216] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[217] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[218] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[215] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[216] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[217] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[218] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [219] = { 3,    TF,        SEN(statfs64),            "statfs64"        },<br> [220] = { 3,    TD,        SEN(fstatfs64),            "fstatfs64"        },<br> [221] = { 3,    TS,        SEN(tgkill),            "tgkill"        },<br>@@ -331,7 +331,7 @@<br> [303] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br> [304] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [305] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[306] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[306] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [307] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [308] = { 4,    TN,        SEN(sendmmsg),            "sendmmsg"        },<br> [309] = { 6,    0,        SEN(process_vm_readv),        "process_vm_readv"    },<br>diff --git a/linux/bfin/syscallent.h b/linux/bfin/syscallent.h<br>index 800b943b..b0a5f690 100644<br>--- a/linux/bfin/syscallent.h<br>+++ b/linux/bfin/syscallent.h<br>@@ -290,10 +290,10 @@<br> [262] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [263] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [264] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[265] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[266] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[267] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[268] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[265] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[266] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[267] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[268] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [269] = { 3,    TF,        SEN(statfs64),            "statfs64"        },<br> [270] = { 3,    TD,        SEN(fstatfs64),            "fstatfs64"        },<br> [271] = { 3,    TS,        SEN(tgkill),            "tgkill"        },<br>@@ -402,7 +402,7 @@<br> [374] = { 3,    0,        SEN(cacheflush),        "cacheflush"        },<br> [375] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [376] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[377] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[377] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [378] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [379] = { 2,    TD,        SEN(setns),            "setns"            },<br> [380] = { 4,    TN,        SEN(sendmmsg),            "sendmmsg"        },<br>diff --git a/linux/crisv10/syscallent.h b/linux/crisv10/syscallent.h<br>index 96fb6bd0..c0c9ec71 100644<br>--- a/linux/crisv10/syscallent.h<br>+++ b/linux/crisv10/syscallent.h<br>@@ -258,10 +258,10 @@<br> [261] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [262] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [263] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[264] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[265] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[266] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[267] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[264] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[265] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[266] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[267] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [268] = { 3,    TF,        SEN(statfs64),            "statfs64"        },<br> [269] = { 3,    TD,        SEN(fstatfs64),            "fstatfs64"        },<br> [270] = { 3,    TS,        SEN(tgkill),            "tgkill"        },<br>@@ -338,7 +338,7 @@<br> [342] = { 2,    TD,        SEN(fanotify_init),        "fanotify_init"        },<br> [343] = { 6,    TD|TF,        SEN(fanotify_mark),        "fanotify_mark"        },<br> [344] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br>-[345] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[345] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [346] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [347] = { 4,    TN,        SEN(sendmmsg),            "sendmmsg"        },<br> [348] = { 6,    0,        SEN(process_vm_readv),        "process_vm_readv"    },<br>diff --git a/linux/hppa/syscallent.h b/linux/hppa/syscallent.h<br>index f59ea571..78eb4121 100644<br>--- a/linux/hppa/syscallent.h<br>+++ b/linux/hppa/syscallent.h<br>@@ -257,10 +257,10 @@<br> [252] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [253] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [254] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[255] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[256] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[257] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[258] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[255] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[256] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[257] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[258] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [259] = { 3,    TS,        SEN(tgkill),            "tgkill"        },<br> [260] = { 6,    TM,        SEN(mbind),            "mbind"            },<br> [261] = { 5,    TM,        SEN(get_mempolicy),        "get_mempolicy"        },<br>@@ -326,7 +326,7 @@<br> [321] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br> [322] = { 2,    TD,        SEN(fanotify_init),        "fanotify_init"        },<br> [323] = { 6,    TD|TF,        SEN(fanotify_mark),        "fanotify_mark"        },<br>-[324] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[324] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [325] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [326] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br> [327] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br>diff --git a/linux/i386/syscallent.h b/linux/i386/syscallent.h<br>index 8ef1b1cd..8845d8d6 100644<br>--- a/linux/i386/syscallent.h<br>+++ b/linux/i386/syscallent.h<br>@@ -289,10 +289,10 @@<br> [261] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [262] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [263] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[264] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[265] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[266] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[267] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[264] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[265] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[266] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[267] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [268] = { 3,    TF,        SEN(statfs64),            "statfs64"        },<br> [269] = { 3,    TD,        SEN(fstatfs64),            "fstatfs64"        },<br> [270] = { 3,    TS,        SEN(tgkill),            "tgkill"        },<br>@@ -368,7 +368,7 @@<br> [340] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br> [341] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [342] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[343] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[343] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [344] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [345] = { 4,    TN,        SEN(sendmmsg),            "sendmmsg"        },<br> [346] = { 2,    TD,        SEN(setns),            "setns"            },<br>diff --git a/linux/ia64/syscallent.h b/linux/ia64/syscallent.h<br>index 47b71d6a..9d838a10 100644<br>--- a/linux/ia64/syscallent.h<br>+++ b/linux/ia64/syscallent.h<br>@@ -270,10 +270,10 @@<br> [1250] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [1251] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [1252] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[1253] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[1254] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[1255] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[1256] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[1253] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[1254] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[1255] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[1256] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [1257] = { 3,    TD,        SEN(fstatfs64),            "fstatfs64"        },<br> [1258] = { 3,    TF,        SEN(statfs64),            "statfs64"        },<br> [1259] = { 6,    TM,        SEN(mbind),            "mbind"            },<br>@@ -345,7 +345,7 @@<br> [1325] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br> [1326] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [1327] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[1328] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[1328] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [1329] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [1330] = { 2,    TD,        SEN(setns),            "setns"            },<br> [1331] = { 4,    TN,        SEN(sendmmsg),            "sendmmsg"        },<br>diff --git a/linux/m68k/syscallent.h b/linux/m68k/syscallent.h<br>index 8e7dd97d..1d481859 100644<br>--- a/linux/m68k/syscallent.h<br>+++ b/linux/m68k/syscallent.h<br>@@ -284,10 +284,10 @@<br> [256] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [257] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [258] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[259] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[260] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[261] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[262] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[259] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[260] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[261] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[262] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [263] = { 3,    TF,        SEN(statfs64),            "statfs64"        },<br> [264] = { 3,    TD,        SEN(fstatfs64),            "fstatfs64"        },<br> [265] = { 3,    TS,        SEN(tgkill),            "tgkill"        },<br>@@ -367,7 +367,7 @@<br> [339] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br> [340] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [341] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[342] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[342] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [343] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [344] = { 2,    TD,        SEN(setns),            "setns"            },<br> [345] = { 6,    0,        SEN(process_vm_readv),        "process_vm_readv"    },<br>diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h<br>index 2a59eb3d..6c48939f 100644<br>--- a/linux/microblaze/syscallent.h<br>+++ b/linux/microblaze/syscallent.h<br>@@ -289,10 +289,10 @@<br> [261] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [262] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [263] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[264] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[265] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[266] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[267] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[264] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[265] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[266] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[267] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [268] = { 3,    TF,        SEN(statfs64),            "statfs64"        },<br> [269] = { 3,    TD,        SEN(fstatfs64),            "fstatfs64"        },<br> [270] = { 3,    TS,        SEN(tgkill),            "tgkill"        },<br>@@ -398,7 +398,7 @@<br> [370] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br> [371] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [372] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[373] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[373] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [374] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [375] = { 2,    TD,        SEN(setns),            "setns"            },<br> [376] = { 4,    TN,        SEN(sendmmsg),            "sendmmsg"        },<br>diff --git a/linux/mips/syscallent-n32.h b/linux/mips/syscallent-n32.h<br>index 052af4fa..4a9afe25 100644<br>--- a/linux/mips/syscallent-n32.h<br>+++ b/linux/mips/syscallent-n32.h<br>@@ -225,10 +225,10 @@<br> [6222] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [6223] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [6224] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[6225] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[6226] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[6227] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[6228] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[6225] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[6226] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[6227] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[6228] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [6229] = { 3,    TS,        SEN(tgkill),            "tgkill"        },<br> [6230] = { 2,    TF,        SEN(utimes),            "utimes"        },<br> [6231] = { 6,    TM,        SEN(mbind),            "mbind"            },<br>@@ -305,7 +305,7 @@<br> [6302] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br> [6303] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [6304] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[6305] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[6305] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [6306] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [6307] = { 4,    TN,        SEN(sendmmsg),            "sendmmsg"        },<br> [6308] = { 2,    TD,        SEN(setns),            "setns"            },<br>diff --git a/linux/mips/syscallent-n64.h b/linux/mips/syscallent-n64.h<br>index fdd778b4..a489323f 100644<br>--- a/linux/mips/syscallent-n64.h<br>+++ b/linux/mips/syscallent-n64.h<br>@@ -221,10 +221,10 @@<br> [5218] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [5219] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [5220] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[5221] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[5222] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[5223] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[5224] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[5221] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[5222] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[5223] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[5224] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [5225] = { 3,    TS,        SEN(tgkill),            "tgkill"        },<br> [5226] = { 2,    TF,        SEN(utimes),            "utimes"        },<br> [5227] = { 6,    TM,        SEN(mbind),            "mbind"            },<br>@@ -300,7 +300,7 @@<br> [5297] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br> [5298] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [5299] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[5300] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[5300] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [5301] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [5302] = { 4,    TN,        SEN(sendmmsg),            "sendmmsg"        },<br> [5303] = { 2,    TD,        SEN(setns),            "setns"            },<br>diff --git a/linux/mips/syscallent-o32.h b/linux/mips/syscallent-o32.h<br>index 509a719a..93a22934 100644<br>--- a/linux/mips/syscallent-o32.h<br>+++ b/linux/mips/syscallent-o32.h<br>@@ -262,10 +262,10 @@<br> [4259] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [4260] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [4261] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[4262] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[4263] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[4264] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[4265] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[4262] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[4263] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[4264] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[4265] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [4266] = { 3,    TS,        SEN(tgkill),            "tgkill"        },<br> [4267] = { 2,    TF,        SEN(utimes),            "utimes"        },<br> [4268] = { 6,    TM,        SEN(mbind),            "mbind"            },<br>@@ -341,7 +341,7 @@<br> [4338] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br> [4339] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [4340] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[4341] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[4341] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [4342] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [4343] = { 4,    TN,        SEN(sendmmsg),            "sendmmsg"        },<br> [4344] = { 2,    TD,        SEN(setns),            "setns"            },<br>diff --git a/linux/powerpc/syscallent.h b/linux/powerpc/syscallent.h<br>index 1431f8a9..0928b7ef 100644<br>--- a/linux/powerpc/syscallent.h<br>+++ b/linux/powerpc/syscallent.h<br>@@ -271,10 +271,10 @@<br> [242] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [243] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [244] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[245] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[246] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[247] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[248] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[245] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[246] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[247] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[248] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [249] = { 2,    0,        SEN(printargs),            "swapcontext"        },<br> [250] = { 3,    TS,        SEN(tgkill),            "tgkill"        },<br> [251] = { 2,    TF,        SEN(utimes),            "utimes"        },<br>@@ -373,7 +373,7 @@<br> [344] = { 4,    TN,        SEN(accept4),            "accept4"        },<br> [345] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [346] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[347] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[347] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [348] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [349] = { 4,    TN,        SEN(sendmmsg),            "sendmmsg"        },<br> [350] = { 2,    TD,        SEN(setns),            "setns"            },<br>diff --git a/linux/powerpc64/syscallent.h b/linux/powerpc64/syscallent.h<br>index eae3b57b..c8642415 100644<br>--- a/linux/powerpc64/syscallent.h<br>+++ b/linux/powerpc64/syscallent.h<br>@@ -266,10 +266,10 @@<br> [242] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [243] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [244] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[245] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[246] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[247] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[248] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[245] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[246] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[247] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[248] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [249] = { 2,    0,        SEN(printargs),            "swapcontext"        },<br> [250] = { 3,    TS,        SEN(tgkill),            "tgkill"        },<br> [251] = { 2,    TF,        SEN(utimes),            "utimes"        },<br>@@ -368,7 +368,7 @@<br> [344] = { 4,    TN,        SEN(accept4),            "accept4"        },<br> [345] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [346] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[347] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[347] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [348] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [349] = { 4,    TN,        SEN(sendmmsg),            "sendmmsg"        },<br> [350] = { 2,    TD,        SEN(setns),            "setns"            },<br>diff --git a/linux/s390/syscallent.h b/linux/s390/syscallent.h<br>index 105e511e..69dba9f8 100644<br>--- a/linux/s390/syscallent.h<br>+++ b/linux/s390/syscallent.h<br>@@ -287,10 +287,10 @@<br> [256] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [257] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [258] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[259] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[260] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[261] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[262] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[259] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[260] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[261] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[262] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [263] = { 5,    0,        SEN(vserver),            "vserver"        },<br> [264] = { 6,    TD,        SEN(fadvise64_64),        "fadvise64_64"        },<br> [265] = { 3,    TF,        SEN(statfs64),            "statfs64"        },<br>@@ -365,7 +365,7 @@<br> [334] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br> [335] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [336] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[337] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[337] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [338] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [339] = { 2,    TD,        SEN(setns),            "setns"            },<br> [340] = { 6,    0,        SEN(process_vm_readv),        "process_vm_readv"    },<br>diff --git a/linux/s390x/syscallent.h b/linux/s390x/syscallent.h<br>index d5b54590..792be625 100644<br>--- a/linux/s390x/syscallent.h<br>+++ b/linux/s390x/syscallent.h<br>@@ -271,10 +271,10 @@<br> [256] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [257] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [258] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[259] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[260] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[261] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[262] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[259] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[260] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[261] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[262] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [263] = { 5,    0,        SEN(vserver),            "vserver"        },<br> [264] = { },<br> [265] = { 3,    TF,        SEN(statfs64),            "statfs64"        },<br>@@ -349,7 +349,7 @@<br> [334] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br> [335] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [336] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[337] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[337] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [338] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [339] = { 2,    TD,        SEN(setns),            "setns"            },<br> [340] = { 6,    0,        SEN(process_vm_readv),        "process_vm_readv"    },<br>diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h<br>index 13884169..4eee0e59 100644<br>--- a/linux/sh/syscallent.h<br>+++ b/linux/sh/syscallent.h<br>@@ -289,10 +289,10 @@<br> [261] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [262] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [263] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[264] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[265] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[266] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[267] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[264] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[265] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[266] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[267] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [268] = { 3,    TF,        SEN(statfs64),            "statfs64"        },<br> [269] = { 3,    TD,        SEN(fstatfs64),            "fstatfs64"        },<br> [270] = { 3,    TS,        SEN(tgkill),            "tgkill"        },<br>@@ -386,7 +386,7 @@<br> [358] = { 4,    TN,        SEN(accept4),            "accept4"        },<br> [359] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [360] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[361] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[361] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [362] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [363] = { 4,    TN,        SEN(sendmmsg),            "sendmmsg"        },<br> [364] = { 2,    TD,        SEN(setns),            "setns"            },<br>diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h<br>index e9351048..287bdf08 100644<br>--- a/linux/sh64/syscallent.h<br>+++ b/linux/sh64/syscallent.h<br>@@ -315,10 +315,10 @@<br> [289] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [290] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [291] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[292] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[293] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[294] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[295] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[292] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[293] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[294] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[295] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [296] = { 3,    TF,        SEN(statfs64),            "statfs64"        },<br> [297] = { 3,    TD,        SEN(fstatfs64),            "fstatfs64"        },<br> [298] = { 3,    TS,        SEN(tgkill),            "tgkill"        },<br>@@ -395,7 +395,7 @@<br> [369] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br> [370] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [371] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[372] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[372] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [373] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [374] = { 4,    TN,        SEN(sendmmsg),            "sendmmsg"        },<br> [375] = { 2,    TD,        SEN(setns),            "setns"            },<br>diff --git a/linux/sparc/syscallent.h b/linux/sparc/syscallent.h<br>index 30d88193..6f3f54fc 100644<br>--- a/linux/sparc/syscallent.h<br>+++ b/linux/sparc/syscallent.h<br>@@ -254,10 +254,10 @@<br> [253] = { 1,    TD,        SEN(fdatasync),            "fdatasync"        },<br> [254] = { 3,    0,        SEN(nfsservctl),        "nfsservctl"        },<br> [255] = { 6,    TD,        SEN(sync_file_range),        "sync_file_range"    },<br>-[256] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[257] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[258] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[259] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[256] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[257] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[258] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[259] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [260] = { 3,    TSC,        SEN(sched_getaffinity),        "sched_getaffinity"    },<br> [261] = { 3,    TSC,        SEN(sched_setaffinity),        "sched_setaffinity"    },<br> [262] = { 4,    0,        SEN(timer_settime),        "timer_settime"        },<br>@@ -332,7 +332,7 @@<br> [331] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br> [332] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [333] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[334] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[334] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [335] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [336] = { 4,    TN,        SEN(sendmmsg),            "sendmmsg"        },<br> [337] = { 2,    TD,        SEN(setns),            "setns"            },<br>diff --git a/linux/sparc64/syscallent.h b/linux/sparc64/syscallent.h<br>index 1137a3e5..4f4fc201 100644<br>--- a/linux/sparc64/syscallent.h<br>+++ b/linux/sparc64/syscallent.h<br>@@ -252,10 +252,10 @@<br> [253] = { 1,    TD,        SEN(fdatasync),            "fdatasync"        },<br> [254] = { 3,    0,        SEN(nfsservctl),        "nfsservctl"        },<br> [255] = { 4,    TD,        SEN(sync_file_range),        "sync_file_range"    },<br>-[256] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[257] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[258] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[259] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[256] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[257] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[258] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[259] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [260] = { 3,    TSC,        SEN(sched_getaffinity),        "sched_getaffinity"    },<br> [261] = { 3,    TSC,        SEN(sched_setaffinity),        "sched_setaffinity"    },<br> [262] = { 4,    0,        SEN(timer_settime),        "timer_settime"        },<br>@@ -330,7 +330,7 @@<br> [331] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br> [332] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [333] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[334] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[334] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [335] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [336] = { 4,    TN,        SEN(sendmmsg),            "sendmmsg"        },<br> [337] = { 2,    TD,        SEN(setns),            "setns"            },<br>diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h<br>index 30a684a8..219a243e 100644<br>--- a/linux/x32/syscallent.h<br>+++ b/linux/x32/syscallent.h<br>@@ -225,10 +225,10 @@<br> [224] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [225] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [226] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[227] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[228] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[229] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[230] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[227] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[228] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[229] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[230] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [231] = { 1,    TP|SE,        SEN(exit),            "exit_group"        },<br> [232] = { 4,    TD,        SEN(epoll_wait),        "epoll_wait"        },<br> [233] = { 4,    TD,        SEN(epoll_ctl),            "epoll_ctl"        },<br>@@ -303,7 +303,7 @@<br> [302] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br> [303] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [304] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[305] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[305] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [306] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [307] = { 4,    TN,        SEN(printargs),            "64:sendmmsg"        },<br> [308] = { 2,    TD,        SEN(setns),            "setns"            },<br>diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h<br>index 62960d21..3fa2860f 100644<br>--- a/linux/x86_64/syscallent.h<br>+++ b/linux/x86_64/syscallent.h<br>@@ -225,10 +225,10 @@<br> [224] = { 2,    0,        SEN(timer_gettime),        "timer_gettime"        },<br> [225] = { 1,    0,        SEN(timer_getoverrun),        "timer_getoverrun"    },<br> [226] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br>-[227] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[228] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[229] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[230] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[227] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[228] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[229] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[230] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [231] = { 1,    TP|SE,        SEN(exit),            "exit_group"        },<br> [232] = { 4,    TD,        SEN(epoll_wait),        "epoll_wait"        },<br> [233] = { 4,    TD,        SEN(epoll_ctl),            "epoll_ctl"        },<br>@@ -303,7 +303,7 @@<br> [302] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br> [303] = { 5,    TD|TF,        SEN(name_to_handle_at),        "name_to_handle_at"    },<br> [304] = { 3,    TD,        SEN(open_by_handle_at),        "open_by_handle_at"    },<br>-[305] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[305] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [306] = { 1,    TD,        SEN(syncfs),            "syncfs"        },<br> [307] = { 4,    TN,        SEN(sendmmsg),            "sendmmsg"        },<br> [308] = { 2,    TD,        SEN(setns),            "setns"            },<br>diff --git a/linux/xtensa/syscallent.h b/linux/xtensa/syscallent.h<br>index 63995bc2..eab5b0e8 100644<br>--- a/linux/xtensa/syscallent.h<br>+++ b/linux/xtensa/syscallent.h<br>@@ -234,10 +234,10 @@<br> [241] = { 3,    0,        SEN(io_submit),            "io_submit"        },<br> [242] = { 5,    0,        SEN(io_getevents),        "io_getevents"        },<br> [243] = { 3,    0,        SEN(io_cancel),            "io_cancel"        },<br>-[244] = { 2,    0,        SEN(clock_settime),        "clock_settime"        },<br>-[245] = { 2,    0,        SEN(clock_gettime),        "clock_gettime"        },<br>-[246] = { 2,    0,        SEN(clock_getres),        "clock_getres"        },<br>-[247] = { 4,    0,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br>+[244] = { 2,    TC,        SEN(clock_settime),        "clock_settime"        },<br>+[245] = { 2,    TC,        SEN(clock_gettime),        "clock_gettime"        },<br>+[246] = { 2,    TC,        SEN(clock_getres),        "clock_getres"        },<br>+[247] = { 4,    TC,        SEN(clock_nanosleep),        "clock_nanosleep"    },<br> [248] = { 3,    0,        SEN(timer_create),        "timer_create"        },<br> [249] = { 1,    0,        SEN(timer_delete),        "timer_delete"        },<br> [250] = { 4,    0,        SEN(timer_settime),        "timer_settime"        },<br>@@ -317,7 +317,7 @@<br> [326] = { 6,    TD,        SEN(sync_file_range2),        "sync_file_range2"    },<br> [327] = { 5,    TD,        SEN(perf_event_open),        "perf_event_open"    },<br> [328] = { 4,    TP|TS,        SEN(rt_tgsigqueueinfo),        "rt_tgsigqueueinfo"    },<br>-[329] = { 2,    0,        SEN(clock_adjtime),        "clock_adjtime"        },<br>+[329] = { 2,    TC,        SEN(clock_adjtime),        "clock_adjtime"        },<br> [330] = { 4,    0,        SEN(prlimit64),            "prlimit64"        },<br> [331] = { 5,    0,        SEN(kcmp),            "kcmp"            },<br> [332] = { 3,    TD,        SEN(finit_module),        "finit_module"        },<br>diff --git a/qualify.c b/qualify.c<br>index b5023f21..373393f6 100644<br>--- a/qualify.c<br>+++ b/qualify.c<br>@@ -220,6 +220,7 @@ lookup_class(const char *s)<br>         { "%ipc",    TRACE_IPC    },<br>         { "%network",    TRACE_NETWORK    },<br>         { "%sched",    TRACE_SCHED    },<br>+        { "%clock",     TRACE_CLOCK    },<br>     };<br> <br>     unsigned int i;<br>diff --git a/strace.1 b/strace.1<br>index 9b69ec22..0c0f1a7a 100644<br>--- a/strace.1<br>+++ b/strace.1<br>@@ -429,6 +429,9 @@ Trace all memory mapping related system calls.<br> .BR "\-e\ trace" = %sched<br> Trace all scheduler-related (sched_*) system calls.<br> .TP<br>+.BR "\-e\ trace" = %clock<br>+Trace all clock-related (clock_*) system calls.<br>+.TP<br> \fB\-e\ abbrev\fR=\,\fIset\fR<br> Abbreviate the output from printing each member of large structures.<br> The default is<br>diff --git a/syscall.c b/syscall.c<br>index 569055f2..c7980c40 100644<br>--- a/syscall.c<br>+++ b/syscall.c<br>@@ -77,6 +77,7 @@<br> #define TS TRACE_SIGNAL<br> #define TM TRACE_MEMORY<br> #define TSC TRACE_SCHED<br>+#define TC TRACE_CLOCK<br> #define NF SYSCALL_NEVER_FAILS<br> #define MA MAX_ARGS<br> #define SI STACKTRACE_INVALIDATE_CACHE<br>@@ -113,6 +114,7 @@ static const struct_sysent sysent2[] = {<br> #undef TS<br> #undef TM<br> #undef TSC<br>+#undef TC<br> #undef NF<br> #undef MA<br> #undef SI<br>diff --git a/sysent.h b/sysent.h<br>index f4eaa930..dc00ae3f 100644<br>--- a/sysent.h<br>+++ b/sysent.h<br>@@ -22,5 +22,6 @@ typedef struct sysent {<br> #define TRACE_INDIRECT_SUBCALL    02000    /* Syscall is an indirect socket/ipc subcall. */<br> #define COMPAT_SYSCALL_TYPES    04000    /* A compat syscall that uses compat types. */<br> #define TRACE_SCHED        010000  /* Trace scheduler-related syscalls. */<br>+#define TRACE_CLOCK        00030    /*Trace clocks-related syscalls*/<br> <br> #endif /* !STRACE_SYSENT_H */<br>diff --git a/tests/Makefile.am b/tests/Makefile.am<br>index c5c124c0..57e99454 100644<br>--- a/tests/Makefile.am<br>+++ b/tests/Makefile.am<br>@@ -331,7 +331,6 @@ check_PROGRAMS = \<br>     rt_sigpending \<br>     rt_sigprocmask \<br>     rt_sigqueueinfo \<br>-    rt_sigreturn \<br>     rt_sigsuspend \<br>     rt_sigtimedwait \<br>     rt_tgsigqueueinfo \<br>@@ -503,6 +502,7 @@ DECODER_TESTS = \<br>     chown.test \<br>     chown32.test \<br>     chroot.test \<br>+    clock.test \<br>     clock_adjtime.test \<br>     clock_nanosleep.test \<br>     clock_xettime.test \<br>@@ -728,7 +728,6 @@ DECODER_TESTS = \<br>     rt_sigpending.test \<br>     rt_sigprocmask.test \<br>     rt_sigqueueinfo.test \<br>-    rt_sigreturn.test \<br>     rt_sigsuspend.test \<br>     rt_sigtimedwait.test \<br>     rt_tgsigqueueinfo.test \<br>diff --git a/tests/clock.test b/tests/clock.test<br>new file mode 100755<br>index 00000000..73b01e20<br>--- /dev/null<br>+++ b/tests/clock.test<br>@@ -0,0 +1,41 @@<br>+#!/bin/sh<br>+#Check -e trace=%clock option<br>+<br>+# Positive Test cases.<br>+CLOCK_TESTS='40 clock_nanosleep<br>+37 clock_adjtime<br>+36 clock_xettime'<br>+<br>+# Negative Test Cases.<br>+NON_CLOCK_TESTS='11 fchdir<br>+27 futex<br>+10 fsync'<br>+<br>+# Declaring the init.sh<br>+. "${srcdir=.}/init.sh"<br>+<br>+#<br>+# Tracing Clock_* related syscalls.<br>+#<br>+echo "$CLOCK_TESTS" | while read w i<br>+do<br>+    run_prog ./$i > /dev/null<br>+    run_strace -a$w -e trace=%clock,setitimer ./$i > "$EXP"<br>+    match_diff "$LOG" "$EXP"<br>+<br>+done<br>+<br>+echo '+++ exited with 0 +++' > "$EXP"<br>+#<br>+# Tracing NON_CLOCK related syscalls<br>+# /dev/null for ignoring print statements<br>+# from the executable.<br>+#<br>+echo "$NON_CLOCK_TESTS" | while read w i<br>+do<br>+    run_prog ./$i > /dev/null<br>+    run_strace -a$w -e trace=%clock ./$i  > /dev/null<br>+    match_diff "$LOG" "$EXP"<br>+done<br>+<br>+rm "$EXP"<br>diff --git a/tests/ksysent.c b/tests/ksysent.c<br>index 252feffc..09c2f6b6 100644<br>--- a/tests/ksysent.c<br>+++ b/tests/ksysent.c<br>@@ -41,6 +41,7 @@<br> #define TS 0<br> #define TM 0<br> #define TSC 0<br>+#define TC 0<br> #define NF 0<br> #define MA 0<br> #define SI 0<br>diff --git a/tests/nsyscalls.c b/tests/nsyscalls.c<br>index c2bdb202..ab440f77 100644<br>--- a/tests/nsyscalls.c<br>+++ b/tests/nsyscalls.c<br>@@ -42,6 +42,7 @@<br> #define TS 0<br> #define TM 0<br> #define TSC 0<br>+#define TC 0<br> #define NF 0<br> #define MA 0<br> #define SI 0<br>-- <br>2.11.0<br><br></div>Thanks,<br><br></div>Rishi<br><div><div><div> <br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 15, 2017 at 2:09 AM, Dmitry V. Levin <span dir="ltr"><<a href="mailto:ldv@altlinux.org" target="_blank">ldv@altlinux.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
On Tue, Mar 14, 2017 at 10:18:27PM +0530, Rishi Bhatt wrote:<br>
> Hey,<br>
> I have implemented clock.test test case,and ya clock_nanosleep's test<br>
> has setitimer as one of the option,so i did the same and and included<br>
> setitimer in my test case so that $LOG and $EXP  have the same out<br>
> put. But well i am still in doubt that why printing setitimer is<br>
> necessary in clock_nanosleep.c?<br>
<br>
</span>No, I don't think that printing setitimer is necessary in clock_nanosleep.test.<br>
<span class=""><br>
> Well i am not sure about the changeLog thing but what i have<br>
> understood in README-hacking i have implemented that.<br>
><br>
> I have used TRACE_SCHED 00030,well Eugene said that i have to use a<br>
> code which doesn't collide with other TRACE_*  so what collision means<br>
> here?<br>
<br>
</span>Well, collision is a quite simple concept, isn't it?  Try<br>
$ ./strace -e%clock tests/rt_tgsigqueueinfo<br>
- I bet you'd be surprised with the output.<br>
<span class=""><br>
> Also i have fixed the other issues that Eugene had pointed out.<br>
<br>
</span>Not really, at least the following issues are still there:<br>
<br>
Applying: Implemented -e trace=%clock option.<br>
.git/rebase-apply/patch:883: new blank line at EOF.<br>
<br>
timeout: failed to run command '../../tests-m32/clock.test': Permission denied<br>
<br>
BTW, the patch itself was not inlined correctly, just try to "git am" it<br>
and you'll see what went wrong.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
ldv<br>
</font></span><br>------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world's most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer" target="_blank">http://sdm.link/slashdot</a><br>______________________________<wbr>_________________<br>
Strace-devel mailing list<br>
<a href="mailto:Strace-devel@lists.sourceforge.net">Strace-devel@lists.<wbr>sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/strace-devel" rel="noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/strace-devel</a><br>
<br></blockquote></div><br></div>