DEV Community

Discussion on: How to add system call (syscall) that prints elapsed time of a process with given PID to the kernel and test it?

Collapse
 
nguyenquangduc2000 profile image
Nguyen Quang Duc

change this in include/linux/syscalls.h
asmlinkage long sys_petime(int);
to:
asmlinkage long __64_sys_sys_petime(int);