summaryrefslogtreecommitdiff
path: root/arch/um/include
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2025-07-03 14:38:55 +0200
committerJohannes Berg <johannes.berg@intel.com>2025-07-11 08:49:02 +0200
commit2a713f04eddd97f5893de73b1ccd789e69ac0a8d (patch)
treee70eb9908e0b53fbecb3ced86937a60fae694257 /arch/um/include
parent32a15664efe9b44b64a7179b47cc7742af5098c2 (diff)
downloadlwn-2a713f04eddd97f5893de73b1ccd789e69ac0a8d.tar.gz
lwn-2a713f04eddd97f5893de73b1ccd789e69ac0a8d.zip
um/ptrace: Implement HAVE_SYSCALL_TRACEPOINTS
Implement syscall tracepoints through the generic tracing infrastructure. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Reviewed-by: Nam Cao <namcao@linutronix.de> Link: https://patch.msgid.link/20250703-uml-have_syscall_tracepoints-v1-2-23c1d3808578@linutronix.de Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'arch/um/include')
-rw-r--r--arch/um/include/asm/thread_info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/include/asm/thread_info.h b/arch/um/include/asm/thread_info.h
index f9ad06fcc991..b8c021f97bd1 100644
--- a/arch/um/include/asm/thread_info.h
+++ b/arch/um/include/asm/thread_info.h
@@ -43,6 +43,8 @@ struct thread_info {
#define TIF_NOTIFY_RESUME 8
#define TIF_SECCOMP 9 /* secure computing */
#define TIF_SINGLESTEP 10 /* single stepping userspace */
+#define TIF_SYSCALL_TRACEPOINT 11 /* syscall tracepoint instrumentation */
+
#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE)
#define _TIF_SIGPENDING (1 << TIF_SIGPENDING)