From 6f2702f5b20b11b747492242080be33b84678db4 Mon Sep 17 00:00:00 2001 From: Martin Cermak Date: Mon, 13 Jan 2014 12:06:02 -0500 Subject: [PATCH] PR16443: fix typos in Beginner's Guide --- doc/SystemTap_Beginners_Guide/en-US/Array-Operations.xml | 4 ++-- doc/SystemTap_Beginners_Guide/en-US/Installation.xml | 2 +- doc/SystemTap_Beginners_Guide/en-US/extras/rheldebugurl.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/SystemTap_Beginners_Guide/en-US/Array-Operations.xml b/doc/SystemTap_Beginners_Guide/en-US/Array-Operations.xml index 2df5df3bb..569ca088a 100644 --- a/doc/SystemTap_Beginners_Guide/en-US/Array-Operations.xml +++ b/doc/SystemTap_Beginners_Guide/en-US/Array-Operations.xml @@ -851,7 +851,7 @@ probe timer.s(3) global reads probe vfs.read { - reads[execname()] <<< count + reads[execname()] <<< $count } @@ -881,7 +881,7 @@ probe vfs.read array (operator) -In , the operator <<< count stores the amount returned by count to to the associated value of the corresponding execname() in the reads array. Remember, these values are stored; they are not added to the associated values of each unique key, nor are they used to replace the current associated values. In a manner of speaking, think of it as having each unique key (execname()) having multiple associated values, accumulating with each probe handler run. +In , the operator <<< $count stores the amount returned by $count to the associated value of the corresponding execname() in the reads array. Remember, these values are stored; they are not added to the associated values of each unique key, nor are they used to replace the current associated values. In a manner of speaking, think of it as having each unique key (execname()) having multiple associated values, accumulating with each probe handler run. Note diff --git a/doc/SystemTap_Beginners_Guide/en-US/Installation.xml b/doc/SystemTap_Beginners_Guide/en-US/Installation.xml index 396e9cba9..3975868cb 100644 --- a/doc/SystemTap_Beginners_Guide/en-US/Installation.xml +++ b/doc/SystemTap_Beginners_Guide/en-US/Installation.xml @@ -24,7 +24,7 @@ with the corresponding set of -devel, -debuginfo and -debuginfo-common packages for your kernel. If your system has multiple kernels installed, and - you wish to use SystemTap on more than one kernel kernel, you will need to + you wish to use SystemTap on more than one kernel, you will need to install the -devel and -debuginfo packages for each of those kernel versions. diff --git a/doc/SystemTap_Beginners_Guide/en-US/extras/rheldebugurl.sh b/doc/SystemTap_Beginners_Guide/en-US/extras/rheldebugurl.sh index 0449843e6..58881a310 100755 --- a/doc/SystemTap_Beginners_Guide/en-US/extras/rheldebugurl.sh +++ b/doc/SystemTap_Beginners_Guide/en-US/extras/rheldebugurl.sh @@ -1,5 +1,5 @@ #! /bin/bash -pkg="redhat-release" +pkg=`rpm -q --whatprovides "redhat-release"` releasever=`rpm -q --qf "%{version}" $pkg` base=`uname -m` echo "ftp://ftp.redhat.com/pub/redhat/linux/\ -- 2.43.5