• Arnaldo Carvalho de Melo's avatar
    tools headers API: Update close_range affected files · c0bde40a
    Arnaldo Carvalho de Melo authored
    To pick the changes from:
    
      55db9c0e ("net: remove compat_sys_{get,set}sockopt")
      9b4feb63 ("arch: wire-up close_range()")
    
    That automagically add the 'close_range' syscall to tools such as 'perf
    trace'.
    
    Before:
    
      # perf trace -e close_range
      event syntax error: 'close_range'
                           \___ parser error
      Run 'perf list' for a list of valid events
    
       Usage: perf trace [<options>] [<command>]
          or: perf trace [<options>] -- <command> [<options>]
          or: perf trace record [<options>] [<command>]
          or: perf trace record [<options>] -- <command> [<options>]
    
          -e, --event <event>   event/syscall selector. use 'perf list' to list available events
      #
    
    After, system wide strace like tracing for this syscall:
    
      # perf trace -e close_range
      ^C#
    
    No calls, I need some test proggie :-)
    
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Christian Brauner <christian.brauner@ubuntu.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: David S. Miller <davem@davemloft.net>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    c0bde40a
unistd.h 29.9 KB