Re: [PATCH v2 3/7] perf syscalltbl: Remove struct syscalltbl

2025-02-11 Thread Ian Rogers
On Mon, Feb 10, 2025 at 11:48 PM Arnd Bergmann wrote: > > On Mon, Feb 10, 2025, at 17:51, Ian Rogers wrote: > > The syscalltbl held entries of system call name and number pairs, > > generated from a native syscalltbl at start up. As there are gaps in > > the system call number there is a notion of

Re: [PATCH v2 3/7] perf syscalltbl: Remove struct syscalltbl

2025-02-11 Thread Arnd Bergmann
On Tue, Feb 11, 2025, at 17:18, Ian Rogers wrote: > On Mon, Feb 10, 2025 at 11:48 PM Arnd Bergmann wrote: >> The syscall numbers on mips (and previously on ia64) are offset by >> a large number depending on the ABI (o32/n32/n64). I assume what >> we want here is to have the small numbers without

Re: [PATCH v2 5/7] perf trace beauty: Add syscalltbl.sh generating all system call tables

2025-02-11 Thread Ian Rogers
On Tue, Feb 11, 2025 at 9:53 AM Arnd Bergmann wrote: > > On Tue, Feb 11, 2025, at 18:24, Ian Rogers wrote: > > On Tue, Feb 11, 2025 at 12:09 AM Arnd Bergmann wrote: > >> On Mon, Feb 10, 2025, at 17:51, Ian Rogers wrote: > >> > "$tools_dir/perf/arch/arm64/entry/syscalls/syscall_64.tbl" "$outfile"

Re: [PATCH v2 5/7] perf trace beauty: Add syscalltbl.sh generating all system call tables

2025-02-11 Thread Arnd Bergmann
On Mon, Feb 10, 2025, at 17:51, Ian Rogers wrote: > +# Each line of the syscall table should have the following format: > +# > +# NR ABI NAME [NATIVE] [COMPAT] > +# > +# NR syscall number > +# ABI ABI name > +# NAME syscall name > +# NATIVE native entry point (optional) > +# COMPA

Re: [PATCH v2 5/7] perf trace beauty: Add syscalltbl.sh generating all system call tables

2025-02-11 Thread Ian Rogers
On Tue, Feb 11, 2025 at 12:09 AM Arnd Bergmann wrote: > > On Mon, Feb 10, 2025, at 17:51, Ian Rogers wrote: > > > +# Each line of the syscall table should have the following format: > > +# > > +# NR ABI NAME [NATIVE] [COMPAT] > > +# > > +# NR syscall number > > +# ABI ABI name > > +# NA

Re: [PATCH v2 3/7] perf syscalltbl: Remove struct syscalltbl

2025-02-11 Thread Ian Rogers
On Tue, Feb 11, 2025 at 8:34 AM Arnd Bergmann wrote: > > On Tue, Feb 11, 2025, at 17:18, Ian Rogers wrote: > > On Mon, Feb 10, 2025 at 11:48 PM Arnd Bergmann wrote: > > >> The syscall numbers on mips (and previously on ia64) are offset by > >> a large number depending on the ABI (o32/n32/n64). I

Re: [PATCH v2 5/7] perf trace beauty: Add syscalltbl.sh generating all system call tables

2025-02-11 Thread Arnd Bergmann
On Tue, Feb 11, 2025, at 18:24, Ian Rogers wrote: > On Tue, Feb 11, 2025 at 12:09 AM Arnd Bergmann wrote: >> On Mon, Feb 10, 2025, at 17:51, Ian Rogers wrote: >> > "$tools_dir/perf/arch/arm64/entry/syscalls/syscall_64.tbl" "$outfile" >> > common,64,renameat,rlimit,memfd_secret EM_AARCH64 >> > +cat