]> sourceware.org Git - systemtap.git/commitdiff
Small updates to conversion tapset and testcases.
authorDavid Smith <dsmith@redhat.com>
Tue, 15 Jun 2010 15:27:33 +0000 (10:27 -0500)
committerDavid Smith <dsmith@redhat.com>
Tue, 15 Jun 2010 15:27:33 +0000 (10:27 -0500)
* tapset/conversions.stp: Fixed documentation string.
* testsuite/buildok/conversions.stp: Added kernel_string_n() test.
* testsuite/buildok/conversions-embedded.stp: Ditto.

tapset/conversions.stp
testsuite/buildok/conversions-embedded.stp
testsuite/buildok/conversions.stp

index 503590b7c359c403d4f1bcc43c715fc9691b4bb5..5331402b54f010983160fdac8589f5e71da38a60 100644 (file)
@@ -307,7 +307,7 @@ function user_string_n_warn:string (addr:long, n:long) %{ /* pure */ /* unprivil
 %}
 
 /**
- * sfunction user_string_quoted - Retrieves and quotes string from user space.
+ * sfunction user_string_n_quoted - Retrieves and quotes string from user space.
  * 
  * General Syntax: user_string_n_quoted:string(addr:long, n:long)
  * 
index fd36e4c55a0fa81bb92b2e81f56bd15d3eeca26b..e3c7f30330fffcee6b3cc04d09a236c18ec69444 100755 (executable)
@@ -2,6 +2,7 @@
 
 probe begin {
        print (kernel_string (0))
+       print (kernel_string_n(0, 1))
        print (kernel_long (0))
        print (kernel_int (0))
        print (kernel_short (0))
index 01e520c78ebc7d16f6f2317bf81de02597a6ac7e..58ef9bfe71176020d1b75e4993aa1cf2c3f7b839 100755 (executable)
@@ -4,6 +4,7 @@
 
 probe begin {
   print (kernel_string(2342))
+  print (kernel_string_n(2342, 1))
   print (kernel_long(2342))
   print (kernel_int(2342))
   print (kernel_short(2342))
This page took 0.027934 seconds and 5 git commands to generate.