* [Bug translator/14689] New: missing 'syscalls' tracepoints
@ 2012-10-09 19:36 dsmith at redhat dot com
2012-10-09 19:41 ` [Bug translator/14689] " dsmith at redhat dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: dsmith at redhat dot com @ 2012-10-09 19:36 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=14689
Bug #: 14689
Summary: missing 'syscalls' tracepoints
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap@sourceware.org
ReportedBy: dsmith@redhat.com
Classification: Unclassified
Systemtap can only find less than half of the tracepoints perf knows about:
----
# perf list tracepoint | wc -l
924
# stap -l 'kernel.trace("*")' | wc -l
409
----
The majority of these missing tracepoints are the 'syscalls' family of
tracepoints:
----
# perf list tracepoint | grep ' syscalls:' | wc -l
556
# perf list tracepoint | grep ' syscalls:' | head
syscalls:sys_enter_socket [Tracepoint event]
syscalls:sys_exit_socket [Tracepoint event]
syscalls:sys_enter_socketpair [Tracepoint event]
syscalls:sys_exit_socketpair [Tracepoint event]
syscalls:sys_enter_bind [Tracepoint event]
syscalls:sys_exit_bind [Tracepoint event]
syscalls:sys_enter_listen [Tracepoint event]
syscalls:sys_exit_listen [Tracepoint event]
syscalls:sys_enter_accept4 [Tracepoint event]
syscalls:sys_exit_accept4 [Tracepoint event]
----
Systemtap can't find those tracepoints:
----
# stap -l 'kernel.trace("sys_enter_")'
# stap -l 'kernel.trace("sys_exit_")'
----
These tracepoints only exist if CONFIG_FTRACE_SYSCALLS is enabled. If
CONFIG_FTRACE_SYSCALLS is enabled, some macro magic automatically creates these
tracepoints in the SYSCALL_DEFINEn macros.
(Note that this problem might be related to bug #10745)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug translator/14689] missing 'syscalls' tracepoints
2012-10-09 19:36 [Bug translator/14689] New: missing 'syscalls' tracepoints dsmith at redhat dot com
@ 2012-10-09 19:41 ` dsmith at redhat dot com
2012-10-09 19:45 ` fche at redhat dot com
2018-10-18 17:33 ` fche at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: dsmith at redhat dot com @ 2012-10-09 19:41 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=14689
David Smith <dsmith at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |14690
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug translator/14689] missing 'syscalls' tracepoints
2012-10-09 19:36 [Bug translator/14689] New: missing 'syscalls' tracepoints dsmith at redhat dot com
2012-10-09 19:41 ` [Bug translator/14689] " dsmith at redhat dot com
@ 2012-10-09 19:45 ` fche at redhat dot com
2018-10-18 17:33 ` fche at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2012-10-09 19:45 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=14689
--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> 2012-10-09 19:44:50 UTC ---
Note that stap does give access to the master tracepoints sys_enter and
sys_exit. At one point, the demultiplexing done by the kernel for perf/ftrace
was such that there weren't really N low-level tracepoints that may be
individually turned on/off. If any was turned on, the process incurred a
penalty for *every* syscall. Demultiplexing was just a conditional
postprocessing phase, by which time the damage was already done. It roughly
equivalent to
probe kernel.trace.sys_five = kernel.trace("sys_enter")
{ if ($syscall != 5) next; }
If this is still the case, then there is little point trying to connect to the
same demultiplexing widget.
See also bug #12748.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug translator/14689] missing 'syscalls' tracepoints
2012-10-09 19:36 [Bug translator/14689] New: missing 'syscalls' tracepoints dsmith at redhat dot com
2012-10-09 19:41 ` [Bug translator/14689] " dsmith at redhat dot com
2012-10-09 19:45 ` fche at redhat dot com
@ 2018-10-18 17:33 ` fche at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2018-10-18 17:33 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=14689
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |fche at redhat dot com
Resolution|--- |FIXED
--- Comment #2 from Frank Ch. Eigler <fche at redhat dot com> ---
tp_syscalls.* present
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-10-18 17:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-09 19:36 [Bug translator/14689] New: missing 'syscalls' tracepoints dsmith at redhat dot com
2012-10-09 19:41 ` [Bug translator/14689] " dsmith at redhat dot com
2012-10-09 19:45 ` fche at redhat dot com
2018-10-18 17:33 ` fche at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).