Re: [PATCH] tracing/syscalls: ignore numbers outside NR_syscalls' range

From: Steven Rostedt
Date: Mon Nov 03 2014 - 12:58:54 EST


On Mon, 3 Nov 2014 11:08:03 -0600
Nathan Lynch <Nathan_Lynch@xxxxxxxxxx> wrote:


> > Or do we just ignore the high "special" ARM syscalls and treat them (from
> > the tracing point of view) as non-syscalls, avoiding the allocation of
> > something around 1.2MB for the syscall bitmap. I really don't know, I
> > don't use any of this tracing stuff, so it isn't something I care about.
> >
> > Maybe those who do use the facility should have an input here?
>
> I checked strace and it knows about ARM's high syscalls. I wouldn't
> want to go from casually using strace to digging deeper with ftrace only
> to get the impression that syscalls are disappearing.

I agree, but currently the syscall tracing does not support different
mappings, and if there's a group of calls outside of NR_syscalls range,
they will currently be ignored.

The fix may be to restructure how syscall tracing works. But for now,
the only answer we have is to just ignore them. x86 has the same issue
with compat calls (i386 syscalls on x86_64 kernels).

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/