History

perf beauty: Update copy of linux/socket.h with the kernel sources

To pick the changes in: ea6932d70e223e02 ("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

Arnaldo Carvalho de Melo committed 5 years ago

Commit ef83f9e1 parent 482698c1 file · +0 −2Browse files

Unified · Split

tools/perf/trace/beauty/include/linux/socket.h+0−2
@@ -438,6 +438,4 @@ extern int __sys_socketpair(int family, int type, int protocol, · 437 unmodified lines
438 int __user *usockvec);438 int __user *usockvec);
439extern int __sys_shutdown_sock(struct socket *sock, int how);439extern int __sys_shutdown_sock(struct socket *sock, int how);
440extern int __sys_shutdown(int fd, int how);440extern int __sys_shutdown(int fd, int how);
441
442extern struct ns_common *get_net_ns(struct ns_common *ns);
443#endif /* _LINUX_SOCKET_H */441#endif /* _LINUX_SOCKET_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t