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/small_demos/prof.stp | 2 +- examples/small_demos/top.stp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/small_demos') 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()]++ } -- cgit