Re: [PATCH v3 05/11] x86/tracing: fix compat syscall handling

2016-10-12 Thread Marcin Nowakowski
On 12.10.2016 15:53, Thomas Gleixner wrote: On Tue, 11 Oct 2016, Marcin Nowakowski wrote: -/* - * Because ia32 syscalls do not map to x86_64 syscall numbers - * this screws up the trace output when tracing a ia32 task. - * Instead of reporting bogus syscalls, just do not trace them. - * - * If t

Re: [PATCH v3 05/11] x86/tracing: fix compat syscall handling

2016-10-12 Thread Thomas Gleixner
On Tue, 11 Oct 2016, Marcin Nowakowski wrote: > -/* > - * Because ia32 syscalls do not map to x86_64 syscall numbers > - * this screws up the trace output when tracing a ia32 task. > - * Instead of reporting bogus syscalls, just do not trace them. > - * > - * If the user really wants these, then th

[PATCH v3 05/11] x86/tracing: fix compat syscall handling

2016-10-11 Thread Marcin Nowakowski
Adapt the arch-specific code to new syscall tracing interface: arch_trace_is_compat_syscall() now only indicates if a syscall is ia32, as x32 syscalls exist in the same syscall table as native 64 bit ones, so should not be treated as compat ones Add arch_trace_syscall_get_nr that removes the x32 bi