* [Bug translator/3217] New: compiled binary tracing
@ 2006-09-15 23:06 fche at redhat dot com
2006-09-19 14:57 ` [Bug translator/3217] " hunt at redhat dot com
2006-09-19 14:58 ` hunt at redhat dot com
0 siblings, 2 replies; 5+ messages in thread
From: fche at redhat dot com @ 2006-09-15 23:06 UTC (permalink / raw)
To: systemtap
Further to bug #2307 (binary tracing), and to the conversation on the mailing
list, let's teach the translator to expand printf()s to a sequence of binary
assignments into the trace buffer, when its analysis of the formatting string
suggests this is worthwhile. This could bypass stp_printf and its conditional
formatting string processing logic.
--
Summary: compiled binary tracing
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=3217
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug translator/3217] compiled binary tracing
2006-09-15 23:06 [Bug translator/3217] New: compiled binary tracing fche at redhat dot com
@ 2006-09-19 14:57 ` hunt at redhat dot com
2006-09-19 14:58 ` hunt at redhat dot com
1 sibling, 0 replies; 5+ messages in thread
From: hunt at redhat dot com @ 2006-09-19 14:57 UTC (permalink / raw)
To: systemtap
------- Additional Comments From hunt at redhat dot com 2006-09-19 14:57 -------
All the pieces are in place to do this. See _stp_reserve_bytes and
_stp_print_binary in runtime/print.c.
This will save < 100ns on a 3GHz Pentium when printing 5 binary numbers. So I
consider it a minor enhancement. For optimization with more potential impact,
see BZ 2339.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Priority|P2 |P3
http://sourceware.org/bugzilla/show_bug.cgi?id=3217
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug translator/3217] compiled binary tracing
2006-09-15 23:06 [Bug translator/3217] New: compiled binary tracing fche at redhat dot com
2006-09-19 14:57 ` [Bug translator/3217] " hunt at redhat dot com
@ 2006-09-19 14:58 ` hunt at redhat dot com
1 sibling, 0 replies; 5+ messages in thread
From: hunt at redhat dot com @ 2006-09-19 14:58 UTC (permalink / raw)
To: systemtap
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |hunt at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=3217
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug translator/3217] compiled binary tracing
[not found] <bug-3217-6586@http.sourceware.org/bugzilla/>
2011-06-07 18:20 ` dsmith at redhat dot com
@ 2011-06-08 0:18 ` jistone at redhat dot com
1 sibling, 0 replies; 5+ messages in thread
From: jistone at redhat dot com @ 2011-06-08 0:18 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=3217
Josh Stone <jistone at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #1977|0 |1
is obsolete| |
AssignedTo|systemtap at sourceware dot |jistone at redhat dot com
|org |
--- Comment #8 from Josh Stone <jistone at redhat dot com> 2011-06-08 00:17:46 UTC ---
Created attachment 5771
--> http://sourceware.org/bugzilla/attachment.cgi?id=5771
Full-featured compiled printf
This translates script-level printf statements into unrolled printing
statements. This passes all systemtap.printf/*.exp tests. The compiled code
is faster, variably, but up to 20% improved in my testing. It also results in
larger .text though, especially when it gets fanned out for something like
"syscall.*". That might be mitigated by moving this translation to create
functions in pass-2, so identical printfs can share the unrolled code.
--
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] 5+ messages in thread
* [Bug translator/3217] compiled binary tracing
[not found] <bug-3217-6586@http.sourceware.org/bugzilla/>
@ 2011-06-07 18:20 ` dsmith at redhat dot com
2011-06-08 0:18 ` jistone at redhat dot com
1 sibling, 0 replies; 5+ messages in thread
From: dsmith at redhat dot com @ 2011-06-07 18:20 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=3217
David Smith <dsmith at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|dsmith at redhat dot com |systemtap at sourceware dot
| |org
--
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] 5+ messages in thread
end of thread, other threads:[~2011-06-08 0:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-15 23:06 [Bug translator/3217] New: compiled binary tracing fche at redhat dot com
2006-09-19 14:57 ` [Bug translator/3217] " hunt at redhat dot com
2006-09-19 14:58 ` hunt at redhat dot com
[not found] <bug-3217-6586@http.sourceware.org/bugzilla/>
2011-06-07 18:20 ` dsmith at redhat dot com
2011-06-08 0:18 ` jistone 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).