(int)si->si_pid, sc, arg1, arg2, arg3, arg4, arg5, arg6, sp, pc,
si->si_syscall);
} else if (ret == 3) {
- LOG_W("PID: %d, SP: %#tx, PC: %#tx (SI_SYSCALL: %#x)", (int)si->si_pid, arg1, arg2,
- si->si_syscall);
+ LOG_W("PID: %d, Syscall number: %#x, SP: %#tx, PC: %#tx", si->si_syscall,
+ (int)si->si_pid, arg1, arg2);
} else {
- LOG_W("PID: %d, Syscall string '%s' (SI_SYSCALL: %#x)", (int)si->si_pid, buf,
- si->si_syscall);
+ LOG_W("PID: %d, Syscall number: %#x, Syscall string '%s'", si->si_syscall,
+ (int)si->si_pid, buf);
}
}