diff options
Diffstat (limited to 'testsuite/systemtap.printf/out2.stp')
-rw-r--r-- | testsuite/systemtap.printf/out2.stp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/systemtap.printf/out2.stp b/testsuite/systemtap.printf/out2.stp new file mode 100644 index 00000000..a6e7a184 --- /dev/null +++ b/testsuite/systemtap.printf/out2.stp @@ -0,0 +1,11 @@ +# output "large_output" pattern using print. + +# This should detect any problems in the print code, output +# buffers or transport. + +probe begin +{ + for (j = 0; j < 3000; j++) + print("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n") + exit() +} |