Skip to content

Commit df4bd8c

Browse files
committed
tools headers: Update the uapi/linux/prctl.h copy with the kernel sources
To pick up the changes in: ec2d0c0 posix-timers: Provide a mechanism to allocate a given timer ID Addressing this perf tools build warning: Warning: Kernel ABI header differences: diff -u tools/perf/trace/beauty/include/uapi/linux/prctl.h include/uapi/linux/prctl.h Please see tools/include/uapi/README for further details. Acked-by: Ingo Molnar <mingo@kernel.org> Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> Cc: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20250410001125.391820-7-namhyung@kernel.org Signed-off-by: Namhyung Kim <namhyung@kernel.org>
1 parent 22f7208 commit df4bd8c

File tree

1 file changed

+11
-0
lines changed
  • tools/perf/trace/beauty/include/uapi/linux

1 file changed

+11
-0
lines changed

tools/perf/trace/beauty/include/uapi/linux/prctl.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,4 +353,15 @@ struct prctl_mm_map {
353353
*/
354354
#define PR_LOCK_SHADOW_STACK_STATUS 76
355355

356+
/*
357+
* Controls the mode of timer_create() for CRIU restore operations.
358+
* Enabling this allows CRIU to restore timers with explicit IDs.
359+
*
360+
* Don't use for normal operations as the result might be undefined.
361+
*/
362+
#define PR_TIMER_CREATE_RESTORE_IDS 77
363+
# define PR_TIMER_CREATE_RESTORE_IDS_OFF 0
364+
# define PR_TIMER_CREATE_RESTORE_IDS_ON 1
365+
# define PR_TIMER_CREATE_RESTORE_IDS_GET 2
366+
356367
#endif /* _LINUX_PRCTL_H */

0 commit comments

Comments
 (0)