diff options
author | fche <fche> | 2007-03-30 19:17:02 +0000 |
---|---|---|
committer | fche <fche> | 2007-03-30 19:17:02 +0000 |
commit | b8da0ad19d9dfcf88c4cd6dcf7b8aa73fc5016d7 (patch) | |
tree | 82225c0ef08f075dc0a5e9a8d59ed3d37a072b1c /tapset | |
parent | 3be43eac84e5819b72dd311c3283ef2ea5bb1d83 (diff) | |
download | systemtap-steved-b8da0ad19d9dfcf88c4cd6dcf7b8aa73fc5016d7.tar.gz systemtap-steved-b8da0ad19d9dfcf88c4cd6dcf7b8aa73fc5016d7.tar.xz systemtap-steved-b8da0ad19d9dfcf88c4cd6dcf7b8aa73fc5016d7.zip |
2007-03-30 Frank Ch. Eigler <fche@redhat.com>
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 <fche@elastic.org>
PR 1570.
* memory.stp, scheduler.stp, signal.stp, LKET/signal.stp: Adapt
to .inline -> .function change.
2007-03-30 Frank Ch. Eigler <fche@elastic.org>
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.
Diffstat (limited to 'tapset')
-rw-r--r-- | tapset/ChangeLog | 8 | ||||
-rwxr-xr-x | tapset/LKET/signal.stp | 3 | ||||
-rw-r--r-- | tapset/memory.stp | 4 | ||||
-rw-r--r-- | tapset/scheduler.stp | 8 | ||||
-rw-r--r-- | tapset/signal.stp | 3 |
5 files changed, 15 insertions, 11 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog index 4b122b56..6ce31780 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,3 +1,9 @@ +2007-03-30 Frank Ch. Eigler <fche@elastic.org> + + PR 1570. + * memory.stp, scheduler.stp, signal.stp, LKET/signal.stp: Adapt + to .inline -> .function change. + 2007-03-09 Pierre Peiffer <pierre.peiffer@bull.net> * nfsd.stp (nfsd.dispatch): Change initialization of variable @@ -17,7 +23,7 @@ * syscalls.stp, s390x/syscall.stp: Created an s390x version of syscall.mmap, syscall.mmap2, syscall.mmap.return, syscall.mmap2.return. -2007-02-09 Frank Ch. Eigler <fche@elastic.org> +2007-02-09 Fr ank Ch. Eigler <fche@elastic.org> * conversions.stp (*): Make errmsg usage uniform. diff --git a/tapset/LKET/signal.stp b/tapset/LKET/signal.stp index 28b4a2b9..1de4da1f 100755 --- a/tapset/LKET/signal.stp +++ b/tapset/LKET/signal.stp @@ -240,8 +240,7 @@ function log_signal_pending_return(ret:long) * */ /* -probe signal.handle = kernel.function("handle_signal")?, - kernel.inline("handle_signal")? +probe signal.handle = kernel.function("handle_signal") { sig = $sig sig_name = _signal_name($sig) diff --git a/tapset/memory.stp b/tapset/memory.stp index b66e1eb2..a3ed628f 100644 --- a/tapset/memory.stp +++ b/tapset/memory.stp @@ -76,7 +76,7 @@ probe vm.write_shared = kernel.function("do_wp_page") { * zero - boolean indicating whether it is a zero page * (can do a clear instead of a copy). */ -probe vm.write_shared_copy = kernel.inline("copy_cow_page")? { +probe vm.write_shared_copy = kernel.function("copy_cow_page")? { address = $address zero = _IS_ZERO_PAGE($from, address); } @@ -93,7 +93,7 @@ probe vm.write_shared_copy = kernel.inline("copy_cow_page")? { * address - the requested address * length - the length of the memory segment */ -probe vm.mmap = kernel.inline("do_mmap"), kernel.inline("do_mmap2")? { +probe vm.mmap = kernel.function("do_mmap"), kernel.function("do_mmap2")? { address = $addr length = $len } 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 diff --git a/tapset/signal.stp b/tapset/signal.stp index 33a2202c..bc4a0551 100644 --- a/tapset/signal.stp +++ b/tapset/signal.stp @@ -371,8 +371,7 @@ probe signal.pending.return = kernel.function("do_sigpending").return * regs : Address in the Kernel Mode stack area * */ -probe signal.handle = kernel.function("handle_signal")?, - kernel.inline("handle_signal")? +probe signal.handle = kernel.function("handle_signal") { sig = $sig sig_name = _signal_name($sig) |