System Call Information

task_current_syscall — Discover what a blocked task is doing.

This function is declared in <linux/ptrace.h>.