From b8da0ad19d9dfcf88c4cd6dcf7b8aa73fc5016d7 Mon Sep 17 00:00:00 2001 From: fche Date: Fri, 30 Mar 2007 19:17:02 +0000 Subject: 2007-03-30 Frank Ch. Eigler PR 1570 * NEWS: Document probe handler language change re. inline functions. * stapprobes.5.in: Likewise. * tapsets.cxx: Many changes to simplify caches and implement new handling of inline functions, removed of stubs for future probes. * elaborate.cxx (derived_probe printsig_nested): New function. * elaborate.h: Declare it. * main.cxx (usage): Clarify "-r" meaning. (main): Tweak related "-p 4" message. 2007-03-30 Frank Ch. Eigler PR 1570. * memory.stp, scheduler.stp, signal.stp, LKET/signal.stp: Adapt to .inline -> .function change. 2007-03-30 Frank Ch. Eigler PR 1570 * */*.stp: Adapt to .inline -> .function change. * lib/stap_run.exp, stap_run2.exp, stap_run_binary.exp: Shorten pass/fail dejagnu log lines. * systemtap.syscall/sys.stp, test.tcl: Make slightly more compatible and failure more verbose. --- tapset/scheduler.stp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tapset/scheduler.stp') diff --git a/tapset/scheduler.stp b/tapset/scheduler.stp index fe645a66..6c8d5d17 100644 --- a/tapset/scheduler.stp +++ b/tapset/scheduler.stp @@ -33,7 +33,7 @@ function __is_idle:long() * idle - boolean indicating whether current is the idle process */ probe scheduler.cpu_off - = kernel.inline("context_switch") + = kernel.function("context_switch") { task_prev = $prev task_next = $next @@ -53,7 +53,7 @@ probe scheduler.cpu_off * idle - boolean indicating whether current is the idle process */ probe scheduler.cpu_on - = kernel.inline("finish_task_switch") + = kernel.function("finish_task_switch") { task_prev = $prev idle = __is_idle() @@ -89,7 +89,7 @@ probe scheduler.tick = kernel.function("scheduler_tick") * cpu_from - the cpu that is losing the task * cpu_to - the cpu that is claiming the task */ -probe scheduler.migrate = kernel.inline("pull_task") { +probe scheduler.migrate = kernel.function("pull_task") { task = $p cpu_from = $p->thread_info->cpu cpu_to = $this_cpu @@ -104,7 +104,7 @@ probe scheduler.migrate = kernel.inline("pull_task") { * Context: * The cpu looking for more work. */ -probe scheduler.balance = kernel.inline("idle_balance")? {} +probe scheduler.balance = kernel.function("idle_balance")? {} /* probe scheduler.ctxswitch -- cgit