summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/general/key.stp
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2008-12-09 11:20:11 -0500
committerWilliam Cohen <wcohen@redhat.com>2008-12-09 11:20:11 -0500
commit4ffc629674ac7d1d84b93cb7fdca71953983f762 (patch)
treedca338602903ba87b69592b40faa35ca74b7966e /testsuite/systemtap.examples/general/key.stp
parent73dc0c77745ee09db15542c14f7e048f91e121e6 (diff)
downloadsystemtap-steved-4ffc629674ac7d1d84b93cb7fdca71953983f762.tar.gz
systemtap-steved-4ffc629674ac7d1d84b93cb7fdca71953983f762.tar.xz
systemtap-steved-4ffc629674ac7d1d84b93cb7fdca71953983f762.zip
Tweak formatting, indent two space.
Diffstat (limited to 'testsuite/systemtap.examples/general/key.stp')
-rwxr-xr-xtestsuite/systemtap.examples/general/key.stp16
1 files changed, 8 insertions, 8 deletions
diff --git a/testsuite/systemtap.examples/general/key.stp b/testsuite/systemtap.examples/general/key.stp
index 6d2d6c3f..8d2c866c 100755
--- a/testsuite/systemtap.examples/general/key.stp
+++ b/testsuite/systemtap.examples/general/key.stp
@@ -5,18 +5,18 @@
// KEY_ENTER = 28
probe kernel.function("kbd_event") {
- if ($event_type == 1 && $value) {
- if ($event_code == 28)
- system("play return.wav &> /dev/null")
- else
- system("play click.wav &> /dev/null")
- }
+ if ($event_type == 1 && $value) {
+ if ($event_code == 28)
+ system("play return.wav &> /dev/null")
+ else
+ system("play click.wav &> /dev/null")
+ }
}
probe begin {
- printf("TYPEWRITER ON\n")
+ printf("TYPEWRITER ON\n")
}
probe end {
- printf("DONE\n")
+ printf("DONE\n")
}