• Arnaldo Carvalho de Melo's avatar
    perf beauty: Update copy of linux/socket.h with the kernel sources · 0e022f5b
    Arnaldo Carvalho de Melo authored
    To pick the changes in:
    
      b848b26c ("net: Kill MSG_SENDPAGE_NOTLAST")
      5e2ff670 ("scm: add SO_PASSPIDFD and SCM_PIDFD")
      4fe38acd ("net: Block MSG_SENDPAGE_* from being passed to sendmsg() by userspace")
      b841b901 ("net: Declare MSG_SPLICE_PAGES internal sendmsg() flag")
    
    That don't result in any changes in the tables generated from that
    header.
    
    But while updating I noticed we were not handling MSG_BATCH and MSG_ZEROCOPY in the
    hard coded table for the msg flags table, add them.
    
    This silences this perf build warning:
    
      Warning: Kernel ABI header differences:
        diff -u tools/perf/trace/beauty/include/linux/socket.h include/linux/socket.h
    
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Alexander Mikhalitsyn <alexander@mihalicyn.com>
    Cc: David Howells <dhowells@redhat.com>
    Cc: David S. Miller <davem@davemloft.net>
    Cc: Ian Rogers <irogers@google.com>
    Cc: Jakub Kicinski <kuba@kernel.org>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Link: https://lore.kernel.org/lkml/ZLFGuHDwUGDGXdoR@kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    0e022f5b
msg_flags.c 1.62 KB