powerpc/syscalls/trace: Fix mmap in syscalls_trace

Michael Ellerman patch-notifications at ellerman.id.au
Thu Apr 13 21:23:20 AEST 2017


On Wed, 2017-04-12 at 06:35:19 UTC, Balbir Singh wrote:
> This patch uses SYSCALL_DEFINE6 for sys_mmap and sys_mmap2
> so that the meta-data associated with these syscalls is
> visible to the syscall tracer. In the absence of this
> generic syscalls (defined outside arch) like munmap,etc.
> are visible in available_events, syscall_enter_mmap and
> syscall_exit_mmap is not.
> 
> A side-effect of this change is that the return type has
> changed from unsigned long to long.
...
> 
> Signed-off-by: Balbir Singh <bsingharora at gmail.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/9c355917fcf006af47ffaa5ae43a1a

cheers


More information about the Linuxppc-dev mailing list