Skip to content

Commit

Permalink
perf beauty: Update copy of linux/socket.h with the kernel sources
Browse files Browse the repository at this point in the history
[ Upstream commit 6da2a45 ]

To pick the changes in:

  99ce45d ("mctp: Implement extended addressing")
  55c42fa ("mptcp: add MPTCP_INFO getsockopt")

That don't result in any changes in the tables generated from that
header.

A table generator for setsockopt is needed, probably will be done in the
5.16 cycle.

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: David S. Miller <[email protected]>
Cc: Florian Westphal <[email protected]>
Cc: Jeremy Kerr <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
acmel authored and gregkh committed Mar 1, 2024
1 parent 47b6345 commit 80f2a24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/perf/trace/beauty/include/linux/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,8 @@ struct ucred {
#define SOL_KCM 281
#define SOL_TLS 282
#define SOL_XDP 283
#define SOL_MPTCP 284
#define SOL_MCTP 285

/* IPX options */
#define IPX_TYPE 1
Expand Down

0 comments on commit 80f2a24

Please sign in to comment.