This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10690] need way to produce bigger procfs output
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 22 Jan 2010 20:58:16 -0000
- Subject: [Bug translator/10690] need way to produce bigger procfs output
- References: <20090923141722.10690.fche@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From dsmith at redhat dot com 2010-01-22 20:58 -------
(In reply to comment #0)
> There exist uses for procfs("file").write and especially .read,
> for which it is desirable for stap scripts to produce much more than
> MAXSTRINGLEN bytes of output.
I can see the value for .read to produce more than MAXSTRINGLEN bytes of output,
but I'm unsure of the value of .write to be able to read more than MAXSTRINGLEN
bytes of input.
Assuming we could read more than MAXSTRINGLEN bytes of input, what could we then
do with that data? We can't assign (all of it) to another string variable. We
could print it (which might fail if the the number of bytes is greater than
STP_BUFFER_SIZE). I'm unsure of anything else we could do with it.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10690
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.