summaryrefslogtreecommitdiffstats
path: root/examples/small_demos
diff options
context:
space:
mode:
authorfche <fche>2007-04-02 21:17:35 +0000
committerfche <fche>2007-04-02 21:17:35 +0000
commit396afcee5ada2d207b7a6691d4b7ce473e7b2a65 (patch)
treeb079f8b72f32e9b6bc7d89824134a492982f9f67 /examples/small_demos
parent2901e41a5b56517f7e3df2e5a1f60085206d17ea (diff)
downloadsystemtap-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/small_demos')
-rwxr-xr-xexamples/small_demos/prof.stp2
-rwxr-xr-xexamples/small_demos/top.stp2
2 files changed, 2 insertions, 2 deletions
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()]++
}