Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1474477
| From | Steven Rostedt <rostedt@goodmis.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall |
| Date | 2016-09-01 17:30 +0200 |
| Message-ID | <scC6e-3Bv-35@gated-at.bofh.it> (permalink) |
| References | <sbrcS-5yr-17@gated-at.bofh.it> <sbX33-GW-3@gated-at.bofh.it> <sbXmq-Og-35@gated-at.bofh.it> <sc94d-8tQ-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 31 Aug 2016 10:24:56 +0200
Arnd Bergmann <arnd@arndb.de> wrote:
> On Tuesday, August 30, 2016 12:53:53 PM CEST Andy Lutomirski wrote:
> > Egads! OK, I see why this is a mess.
> >
> > I guess we should be creating the metadata from the syscall tables
> > instead of from the syscall definitions, but I guess that's currently
> > a nasty per-arch mess.
> >
>
> I've been thinking for a while about how to improve the situation
> around adding new syscalls, which currently involves adding a number
> and an entry in a .S file on most architectures (some already have
> their own method to simplify it, and others using a shared table
> in asm-generic).
>
> I was thinking of extending the x86 way of doing this to all
> architectures, and adding a way to have all future syscalls require
> only one addition in a single file that gets included by the
> architecture specific files for the existing syscalls.
>
> Assuming we do this, would that work for generating the metadata
> from the same file like we do with
> arch/x86/entry/syscalls/syscall{tbl,hdr}.sh ?
I can't answer this because I'm not sure exactly how you would do this.
Perhaps you could give it a try and code will be the answer to all my
questions ;-)
-- Steve
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Marcin Nowakowski <marcin.nowakowski@imgtec.com> - 2016-08-29 11:40 +0200
Re: [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Andy Lutomirski <luto@amacapital.net> - 2016-08-30 02:00 +0200
Re: [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Marcin Nowakowski <marcin.nowakowski@imgtec.com> - 2016-08-30 10:20 +0200
Re: [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Andy Lutomirski <luto@amacapital.net> - 2016-08-30 21:00 +0200
Re: [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Steven Rostedt <rostedt@goodmis.org> - 2016-08-30 21:40 +0200
Re: [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Andy Lutomirski <luto@amacapital.net> - 2016-08-30 22:00 +0200
Re: [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Steven Rostedt <rostedt@goodmis.org> - 2016-08-30 23:00 +0200
Re: [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Andy Lutomirski <luto@amacapital.net> - 2016-08-30 23:50 +0200
Re: [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Steven Rostedt <rostedt@goodmis.org> - 2016-08-31 00:10 +0200
Re: [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Andy Lutomirski <luto@amacapital.net> - 2016-08-31 00:10 +0200
Re: [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Steven Rostedt <rostedt@goodmis.org> - 2016-08-31 00:40 +0200
Re: [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Andy Lutomirski <luto@amacapital.net> - 2016-08-31 01:10 +0200
Re: [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Steven Rostedt <rostedt@goodmis.org> - 2016-08-31 01:30 +0200
Re: [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Andy Lutomirski <luto@amacapital.net> - 2016-08-31 02:10 +0200
Re: [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Marcin Nowakowski <marcin.nowakowski@imgtec.com> - 2016-08-31 16:10 +0200
Re: [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Marcin Nowakowski <marcin.nowakowski@imgtec.com> - 2016-08-31 09:20 +0200
Re: [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Arnd Bergmann <arnd@arndb.de> - 2016-08-31 10:30 +0200
Re: [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Steven Rostedt <rostedt@goodmis.org> - 2016-09-01 17:30 +0200
csiph-web