diff options
author | fche <fche> | 2007-04-02 21:17:35 +0000 |
---|---|---|
committer | fche <fche> | 2007-04-02 21:17:35 +0000 |
commit | 396afcee5ada2d207b7a6691d4b7ce473e7b2a65 (patch) | |
tree | b079f8b72f32e9b6bc7d89824134a492982f9f67 /examples | |
parent | 2901e41a5b56517f7e3df2e5a1f60085206d17ea (diff) | |
download | systemtap-steved-396afcee5ada2d207b7a6691d4b7ce473e7b2a65.tar.gz systemtap-steved-396afcee5ada2d207b7a6691d4b7ce473e7b2a65.tar.xz systemtap-steved-396afcee5ada2d207b7a6691d4b7ce473e7b2a65.zip |
2007-04-02 Frank Ch. Eigler <fche@elastic.org>
* tapsets.cxx (query_dwarf_func): Skip non-inlined functions
for .function().inline case.
2007-04-02 Frank Ch. Eigler <fche@elastic.org>
* socket-trace.stp, small_demos/prof.stp, top.stp: Adapt to
.inline -> .function change.
* semko/twentyone.stp: Ditto.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ChangeLog | 5 | ||||
-rwxr-xr-x | examples/small_demos/prof.stp | 2 | ||||
-rwxr-xr-x | examples/small_demos/top.stp | 2 | ||||
-rw-r--r-- | examples/socket-trace.stp | 2 |
4 files changed, 8 insertions, 3 deletions
diff --git a/examples/ChangeLog b/examples/ChangeLog index 0d32fe3a..5ee73c56 100644 --- a/examples/ChangeLog +++ b/examples/ChangeLog @@ -1,3 +1,8 @@ +2007-04-02 Frank Ch. Eigler <fche@elastic.org> + + * socket-trace.stp, small_demos/prof.stp, top.stp: Adapt to + .inline -> .function change. + 2007-01-30 Frank Ch. Eigler <fche@elastic.org> * socket-trace.stp: Added from the tutorial. diff --git a/examples/small_demos/prof.stp b/examples/small_demos/prof.stp index 986be65e..e08aa21c 100755 --- a/examples/small_demos/prof.stp +++ b/examples/small_demos/prof.stp @@ -11,7 +11,7 @@ # Will profile pid 3323 until it ^c is hit. # -probe kernel.function("sys_*") { +probe kernel.function("sys_*").call { if (target() == tid()) calltime[tid()] = gettimeofday_us() } diff --git a/examples/small_demos/top.stp b/examples/small_demos/top.stp index ed658907..69931ab1 100755 --- a/examples/small_demos/top.stp +++ b/examples/small_demos/top.stp @@ -13,7 +13,7 @@ function print_top () { delete syscalls } -probe kernel.function("sys_*") { +probe kernel.function("sys_*").call { syscalls[probefunc()]++ } diff --git a/examples/socket-trace.stp b/examples/socket-trace.stp index 53b69ecc..a34a33a8 100644 --- a/examples/socket-trace.stp +++ b/examples/socket-trace.stp @@ -1,4 +1,4 @@ -probe kernel.function("*@net/socket.c") { +probe kernel.function("*@net/socket.c").call { printf ("%s -> %s\n", thread_indent(1), probefunc()) } probe kernel.function("*@net/socket.c").return { |