This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/14689] New: missing 'syscalls' tracepoints
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 09 Oct 2012 19:36:27 +0000
- Subject: [Bug translator/14689] New: missing 'syscalls' tracepoints
- Auto-submitted: auto-generated
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.