File: uretprobe.2

package info (click to toggle)
manpages 6.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,184 kB
  • sloc: sh: 575; python: 222; perl: 190; makefile: 29; lisp: 22
file content (47 lines) | stat: -rw-r--r-- 1,080 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.\" Copyright, the authors of the Linux man-pages project
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
.TH uretprobe 2 2025-05-17 "Linux man-pages (unreleased)"
.SH NAME
uretprobe
\-
execute pending return uprobes
.SH SYNOPSIS
.nf
.B int uretprobe(void);
.fi
.SH DESCRIPTION
.BR uretprobe ()
is an alternative to breakpoint instructions
for triggering return uprobe consumers.
.P
Calls to
.BR uretprobe ()
are only made from the user-space trampoline provided by the kernel.
Calls from any other place result in a
.BR SIGILL .
.SH RETURN VALUE
The return value is architecture-specific.
.SH ERRORS
.TP
.B SIGILL
.BR uretprobe ()
was called by a user-space program.
.SH VERSIONS
The behavior varies across systems.
.SH STANDARDS
None.
.SH HISTORY
Linux 6.11.
.P
.BR uretprobe ()
was initially introduced for the x86_64 architecture
where it was shown to be faster than breakpoint traps.
It might be extended to other architectures.
.SH CAVEATS
.BR uretprobe ()
exists only to allow the invocation of return uprobe consumers.
It should
.B never
be called directly.