[PATCH v2 2/3] Add %clock trace class

Dmitry V. Levin ldv at altlinux.org
Fri Apr 17 21:02:34 UTC 2020


On Fri, Apr 17, 2020 at 11:46:55AM +0200, Ákos Uzonyi wrote:
> The %clock class includes the syscalls that read or modify system clock.
> 
> linux/*/syscallent*.h part is updated automatically by:
> sed -i -r '
>     /"(.*adjtime.*|.*clock_(get|set|adj).*|.*(get|set)timeofday.*|\
>     time)"/ {
>         s/(\{[^,]*,\t[^0][^,]*)/\1|TCL/
>         s/(\{[^,]*,\s*)0/\1TCL/
>     }
> ' linux/*/syscallent.h

Please watch your asterisks: there are four linux/*/syscallent*.h files
missed by this update because they do not belong to linux/*/syscallent.h
set.


-- 
ldv


More information about the Strace-devel mailing list