Skip to content

Commit 4902420

Browse files
committed
tools headers UAPI: Sync linux/prctl.h with the kernel sources
To pick the changes in: 61bc346 ("uapi/linux/prctl: provide macro definitions for the PR_SCHED_CORE type argument") That don't result in any changes in tooling: $ tools/perf/trace/beauty/prctl_option.sh > before $ cp include/uapi/linux/prctl.h tools/include/uapi/linux/prctl.h $ tools/perf/trace/beauty/prctl_option.sh > after $ diff -u before after $ Just silences this perf tools build warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/prctl.h' differs from latest version at 'include/uapi/linux/prctl.h' diff -u tools/include/uapi/linux/prctl.h include/uapi/linux/prctl.h Cc: Christian Brauner <[email protected]> Cc: Eugene Syromiatnikov <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 5b749ef commit 4902420

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/include/uapi/linux/prctl.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,5 +268,8 @@ struct prctl_mm_map {
268268
# define PR_SCHED_CORE_SHARE_TO 2 /* push core_sched cookie to pid */
269269
# define PR_SCHED_CORE_SHARE_FROM 3 /* pull core_sched cookie to pid */
270270
# define PR_SCHED_CORE_MAX 4
271+
# define PR_SCHED_CORE_SCOPE_THREAD 0
272+
# define PR_SCHED_CORE_SCOPE_THREAD_GROUP 1
273+
# define PR_SCHED_CORE_SCOPE_PROCESS_GROUP 2
271274

272275
#endif /* _LINUX_PRCTL_H */

0 commit comments

Comments
 (0)