535
560
unsigned long args[6], sp, pc;
537
565
if (task_current_syscall(task, &nr, args, 6, &sp, &pc))
541
return sprintf(buffer, "%ld 0x%lx 0x%lx\n", nr, sp, pc);
568
res = sprintf(buffer, "%ld 0x%lx 0x%lx\n", nr, sp, pc);
544
571
"%ld 0x%lx 0x%lx 0x%lx 0x%lx 0x%lx 0x%lx 0x%lx 0x%lx\n",
546
573
args[0], args[1], args[2], args[3], args[4], args[5],
549
578
#endif /* CONFIG_HAVE_ARCH_TRACEHOOK */