Last change
on this file since 55998 was 53688, checked in by vboxsync, 10 years ago |
VBoxDTrace: Hello world works. (r65)
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
230 bytes
|
Line | |
---|
1 | /* $Id: Hello.d 53688 2015-01-02 12:40:55Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VBoxDTrace - Hello world sample.
|
---|
4 | */
|
---|
5 |
|
---|
6 |
|
---|
7 | /* This works by matching the dtrace:::BEGIN probe, printing the greeting and
|
---|
8 | then quitting immediately. */
|
---|
9 | BEGIN {
|
---|
10 | trace("Hello VBox World!");
|
---|
11 | exit(0);
|
---|
12 | }
|
---|
13 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.