public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/10490] New: make big printfs possible
@ 2009-08-05 20:35 fche at redhat dot com
  2009-08-07 12:46 ` [Bug runtime/10490] " mjw at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2009-08-05 20:35 UTC (permalink / raw)
  To: systemtap

Some tracing scenarios require copying large buffers into the trace output.
Several parts of the runtime conspire currently to impose a smaller limit,
one that can't easily be overridden.  We should fix this, so that scripts
such as this one work:

   printf("%.*M", 65536, $some_buffer)

(64K representing a hypothetical jumbo network packet)

It may help if the "stap -s NNNN" value is used to derive a print
buffer size limit, or if there is a -DPARAMETER for it.

-- 
           Summary: make big printfs possible
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10490

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug runtime/10490] make big printfs possible
  2009-08-05 20:35 [Bug runtime/10490] New: make big printfs possible fche at redhat dot com
@ 2009-08-07 12:46 ` mjw at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: mjw at redhat dot com @ 2009-08-07 12:46 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mjw at redhat dot com  2009-08-07 12:46 -------
In addition to making %m and %M output large buffers fully and atomically, we
also need a specifier for fetching for the current task memory space.

Bonus points for coming up with a syntax/specifier that can easily be combined
with raw/hex buffers and/or quoted/raw strings.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10490

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-07 12:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-05 20:35 [Bug runtime/10490] New: make big printfs possible fche at redhat dot com
2009-08-07 12:46 ` [Bug runtime/10490] " mjw 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).