sys_exit: NR 0 (was "sys_exit: NR -1")

Paul Clarke pc at us.ibm.com
Fri Jun 14 07:56:21 AEST 2019


I'm seeing another asymmetry, this one is on powerpc:
--
  perf 30179 [001] 10374622.667436: raw_syscalls:sys_enter: NR 11 (3fffe16ef55e, [...])
    ls 30179 [002] 10374622.667921:  raw_syscalls:sys_exit: NR 0 = 0
--

Syscall "11" is "execve", but is it expected that the sys_exit will report the ID as 0?  Is that because of the nature of "execve", to overlay the entire contents of the process?

This does not seem to occur on x86.

PC



More information about the Linuxppc-dev mailing list