* [Bug translator/6594] New: investigate ftrace interface
@ 2008-06-05 19:17 fche at redhat dot com
2008-06-05 20:03 ` [Bug translator/6594] " fche at redhat dot com
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: fche at redhat dot com @ 2008-06-05 19:17 UTC (permalink / raw)
To: systemtap
see git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched-devel.git
branch tracing/ftrace
functions in include/linux/ftrace.h, [...]register_ftrace_function()
--
Summary: investigate ftrace interface
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: fche at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6594
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug translator/6594] investigate ftrace interface
2008-06-05 19:17 [Bug translator/6594] New: investigate ftrace interface fche at redhat dot com
@ 2008-06-05 20:03 ` fche at redhat dot com
2008-06-05 20:22 ` mhiramat at redhat dot com
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: fche at redhat dot com @ 2008-06-05 20:03 UTC (permalink / raw)
To: systemtap
------- Additional Comments From fche at redhat dot com 2008-06-05 02:11 -------
probably needs kernel changes for:
... module-friendly ftrace registration api
... and a data (argument) passing mechanism
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6594
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug translator/6594] investigate ftrace interface
2008-06-05 19:17 [Bug translator/6594] New: investigate ftrace interface fche at redhat dot com
2008-06-05 20:03 ` [Bug translator/6594] " fche at redhat dot com
@ 2008-06-05 20:22 ` mhiramat at redhat dot com
2008-07-07 20:28 ` fche at redhat dot com
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mhiramat at redhat dot com @ 2008-06-05 20:22 UTC (permalink / raw)
To: systemtap
------- Additional Comments From mhiramat at redhat dot com 2008-06-05 02:15 -------
(In reply to comment #0)
> see git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched-devel.git
FYI, recently, Ingo changed name of his tree.
http://www.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-ftrace.git
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6594
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug translator/6594] investigate ftrace interface
2008-06-05 19:17 [Bug translator/6594] New: investigate ftrace interface fche at redhat dot com
2008-06-05 20:03 ` [Bug translator/6594] " fche at redhat dot com
2008-06-05 20:22 ` mhiramat at redhat dot com
@ 2008-07-07 20:28 ` fche at redhat dot com
2008-07-20 19:00 ` fche at redhat dot com
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: fche at redhat dot com @ 2008-07-07 20:28 UTC (permalink / raw)
To: systemtap
------- Additional Comments From fche at redhat dot com 2008-07-07 20:27 -------
Anonymous word-of-mouth from a colleague of the ftrace team suggests
an intention on their part to produce a module-facing interface for
the widget. Once that exists, we can make systemtap work with it.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |SUSPENDED
http://sourceware.org/bugzilla/show_bug.cgi?id=6594
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug translator/6594] investigate ftrace interface
2008-06-05 19:17 [Bug translator/6594] New: investigate ftrace interface fche at redhat dot com
` (2 preceding siblings ...)
2008-07-07 20:28 ` fche at redhat dot com
@ 2008-07-20 19:00 ` fche at redhat dot com
2008-07-21 15:35 ` dsmith at redhat dot com
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: fche at redhat dot com @ 2008-07-20 19:00 UTC (permalink / raw)
To: systemtap
------- Additional Comments From fche at redhat dot com 2008-07-20 18:59 -------
https://bugzilla.redhat.com/show_bug.cgi?id=454694
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6594
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug translator/6594] investigate ftrace interface
2008-06-05 19:17 [Bug translator/6594] New: investigate ftrace interface fche at redhat dot com
` (3 preceding siblings ...)
2008-07-20 19:00 ` fche at redhat dot com
@ 2008-07-21 15:35 ` dsmith at redhat dot com
2008-09-24 0:31 ` mhiramat at redhat dot com
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dsmith at redhat dot com @ 2008-07-21 15:35 UTC (permalink / raw)
To: systemtap
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dsmith at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6594
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug translator/6594] investigate ftrace interface
2008-06-05 19:17 [Bug translator/6594] New: investigate ftrace interface fche at redhat dot com
` (4 preceding siblings ...)
2008-07-21 15:35 ` dsmith at redhat dot com
@ 2008-09-24 0:31 ` mhiramat at redhat dot com
2008-09-24 3:50 ` prasad at linux dot vnet dot ibm dot com
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mhiramat at redhat dot com @ 2008-09-24 0:31 UTC (permalink / raw)
To: systemtap
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mhiramat at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6594
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug translator/6594] investigate ftrace interface
2008-06-05 19:17 [Bug translator/6594] New: investigate ftrace interface fche at redhat dot com
` (5 preceding siblings ...)
2008-09-24 0:31 ` mhiramat at redhat dot com
@ 2008-09-24 3:50 ` prasad at linux dot vnet dot ibm dot com
2008-10-02 15:29 ` mhiramat at redhat dot com
2008-10-02 16:58 ` fche at redhat dot com
8 siblings, 0 replies; 10+ messages in thread
From: prasad at linux dot vnet dot ibm dot com @ 2008-09-24 3:50 UTC (permalink / raw)
To: systemtap
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |prasad at linux dot vnet dot
| |ibm dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6594
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug translator/6594] investigate ftrace interface
2008-06-05 19:17 [Bug translator/6594] New: investigate ftrace interface fche at redhat dot com
` (6 preceding siblings ...)
2008-09-24 3:50 ` prasad at linux dot vnet dot ibm dot com
@ 2008-10-02 15:29 ` mhiramat at redhat dot com
2008-10-02 16:58 ` fche at redhat dot com
8 siblings, 0 replies; 10+ messages in thread
From: mhiramat at redhat dot com @ 2008-10-02 15:29 UTC (permalink / raw)
To: systemtap
------- Additional Comments From mhiramat at redhat dot com 2008-10-02 15:27 -------
(In reply to comment #1)
> probably needs kernel changes for:
> ... module-friendly ftrace registration api
I think this should be done by simply exporting
register/unregister_ftrace_function().
> ... and a data (argument) passing mechanism
Arguments passing is hard because of mcount implementation.
It will give us just caller ip and callee ip.
So, in the first phase, might we support only $caller and $callee in
ftrace-based probe?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6594
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug translator/6594] investigate ftrace interface
2008-06-05 19:17 [Bug translator/6594] New: investigate ftrace interface fche at redhat dot com
` (7 preceding siblings ...)
2008-10-02 15:29 ` mhiramat at redhat dot com
@ 2008-10-02 16:58 ` fche at redhat dot com
8 siblings, 0 replies; 10+ messages in thread
From: fche at redhat dot com @ 2008-10-02 16:58 UTC (permalink / raw)
To: systemtap
------- Additional Comments From fche at redhat dot com 2008-10-02 16:56 -------
> > probably needs kernel changes for:
> > ... module-friendly ftrace registration api
> I think this should be done by simply exporting
> register/unregister_ftrace_function().
Hooking into the "dyn-ftrace" functionality seems more relevant,
since that is what we'd need to choose only subsets of kernel
functions to probe. The register_ftrace_function widget seems
to be suited only for a separate abstract event source that traps\*all* function
entries.
> > ... and a data (argument) passing mechanism
>
> Arguments passing is hard because of mcount implementation.
> It will give us just caller ip and callee ip.
> So, in the first phase, might we support only $caller and $callee in
> ftrace-based probe?
I was not talking about accessing contextual data registers via ftrace.
We'll have to work somewhat hard to make that work at all. What I
was referring to was a callback void* parameter that allows us
to tell apart potentially multiple registrations -- like the kprobe*
pointer we get back from kprobe callbacks.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6594
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2008-10-02 16:58 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-05 19:17 [Bug translator/6594] New: investigate ftrace interface fche at redhat dot com
2008-06-05 20:03 ` [Bug translator/6594] " fche at redhat dot com
2008-06-05 20:22 ` mhiramat at redhat dot com
2008-07-07 20:28 ` fche at redhat dot com
2008-07-20 19:00 ` fche at redhat dot com
2008-07-21 15:35 ` dsmith at redhat dot com
2008-09-24 0:31 ` mhiramat at redhat dot com
2008-09-24 3:50 ` prasad at linux dot vnet dot ibm dot com
2008-10-02 15:29 ` mhiramat at redhat dot com
2008-10-02 16:58 ` 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).