This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
RE: [Patch]Add a function kernel_string2 for copy non-0-terminated string with fixed length from kernel space at given address.
- From: "Stone, Joshua I" <joshua dot i dot stone at intel dot com>
- To: "Cai Fei" <caifei at cn dot fujitsu dot com>, <systemtap at sourceware dot org>
- Date: Thu, 11 Oct 2007 18:39:43 -0700
- Subject: RE: [Patch]Add a function kernel_string2 for copy non-0-terminated string with fixed length from kernel space at given address.
- References: <470EC2B0.4020803@cn.fujitsu.com>
Cai Fei wrote:
> So I added a function kernel_string2 for copy non-0-terminated string
> with fixed length from kernel space at given address. Also, the man
> paged is updated.
The new function looks fine. My only suggestion is that a more
meaningful name would be nice. Maybe kernel_string_n or
kernel_string_max.
Oh, tests would also be nice.
Thanks,
Josh