lkml.org 
[lkml]   [2016]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 17/19] perf tools: Build syscall table .c header from kernel's syscall_64.tbl
    From
    Date
    Upon further review ...

    On 4/7/16 2:58 PM, Arnaldo Carvalho de Melo wrote:
    > From: Arnaldo Carvalho de Melo <acme@redhat.com>
    >
    > We used libaudit to map ids to syscall names and vice-versa, but that
    > imposes a delay in supporting new syscalls, having to wait for libaudit
    > to get those new syscalls on its tables.
    >
    > To remove that delay, for x86_64 initially, grab a copy of
    > arch/x86/entry/syscalls/syscall_64.tbl and use it to generate those
    > tables.


    > tools/perf/Makefile.perf | 11 +-
    > tools/perf/arch/x86/Makefile | 23 ++
    > tools/perf/arch/x86/entry/syscalls/syscall_64.tbl | 374 ++++++++++++++++++++++
    > tools/perf/arch/x86/entry/syscalls/syscalltbl.sh | 39 +++

    Why make a copies of the files? Why can't perf reference the ones 2
    levels up?


    \
     
     \ /
      Last update: 2016-04-08 00:02    [W:3.406 / U:0.124 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site