Skip to content

Commit ef83f9e

Browse files
committed
perf beauty: Update copy of linux/socket.h with the kernel sources
To pick the changes in: ea6932d ("net: make get_net_ns return error if NET_NS is disabled") That don't result in any changes in the tables generated from that header. This silences this perf build warning: Warning: Kernel ABI header at 'tools/perf/trace/beauty/include/linux/socket.h' differs from latest version at 'include/linux/socket.h' diff -u tools/perf/trace/beauty/include/linux/socket.h include/linux/socket.h Cc: Changbin Du <changbin.du@intel.com> Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 482698c commit ef83f9e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • tools/perf/trace/beauty/include/linux

tools/perf/trace/beauty/include/linux/socket.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,4 @@ extern int __sys_socketpair(int family, int type, int protocol,
438438
int __user *usockvec);
439439
extern int __sys_shutdown_sock(struct socket *sock, int how);
440440
extern int __sys_shutdown(int fd, int how);
441-
442-
extern struct ns_common *get_net_ns(struct ns_common *ns);
443441
#endif /* _LINUX_SOCKET_H */

0 commit comments

Comments
 (0)