From 396afcee5ada2d207b7a6691d4b7ce473e7b2a65 Mon Sep 17 00:00:00 2001 From: fche Date: Mon, 2 Apr 2007 21:17:35 +0000 Subject: 2007-04-02 Frank Ch. Eigler * tapsets.cxx (query_dwarf_func): Skip non-inlined functions for .function().inline case. 2007-04-02 Frank Ch. Eigler * socket-trace.stp, small_demos/prof.stp, top.stp: Adapt to .inline -> .function change. * semko/twentyone.stp: Ditto. --- examples/ChangeLog | 5 +++++ examples/small_demos/prof.stp | 2 +- examples/small_demos/top.stp | 2 +- examples/socket-trace.stp | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) (limited to 'examples') 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 + + * socket-trace.stp, small_demos/prof.stp, top.stp: Adapt to + .inline -> .function change. + 2007-01-30 Frank Ch. Eigler * 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 { -- cgit