make do_mmap2, copy_cow_page and signal.handle.return optional since they are obsolete
or failed to probe on 2.6.18.1/ppc64
+2006-11-07 Li Guanglei <guanglei@cn.ibm.com>
+
+ From Gui Jian <guij@cn.ibm.com>
+ * signal.stp, memory.stp: make do_mmap2, copy_cow_page
+ and signal.handle.return optional since they are obsolete
+ or failed to probe on 2.6.18.1/ppc64
+
2006-11-02 Frank Ch. Eigler <fche@elastic.org>
* README: Add a blurb against running these scripts directly.
* 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.inline("copy_cow_page")? {
address = $address
zero = _IS_ZERO_PAGE($from, address);
}
* 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.inline("do_mmap"), kernel.inline("do_mmap2")? {
address = $addr
length = $len
}
sig_mode = "Kernel Mode Signal"
}
-probe signal.handle.return = kernel.function("handle_signal").return
+probe signal.handle.return = kernel.function("handle_signal").return ?
{
retstr = returnstr(1)
}