From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11729 invoked by alias); 17 May 2007 22:14:03 -0000 Received: (qmail 11689 invoked by uid 48); 17 May 2007 22:13:48 -0000 Date: Thu, 17 May 2007 22:14:00 -0000 Message-ID: <20070517221348.11688.qmail@sourceware.org> From: "joshua dot i dot stone at intel dot com" To: systemtap@sources.redhat.com In-Reply-To: <20070517224155.4521.pmmccorm@us.ibm.com> References: <20070517224155.4521.pmmccorm@us.ibm.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug runtime/4521] conditional probes should not look up parameters X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2007-q2/txt/msg00338.txt.bz2 ------- Additional Comments From joshua dot i dot stone at intel dot com 2007-05-17 23:13 ------- vm.mmap is defined thus: probe vm.mmap = kernel.function("do_mmap"), kernel.function("do_mmap2")? { address = $addr length = $len } So if "do_mmap" is found, then your conditional flag is satisfied. Add "-vv" to your command-line, and you should see that it correctly resolves "do_mmap". Now you have a valid probe point, so it tries to fill in the body, where it fails due to bug #1155. Try a truly non-existent probepoint like: probe kernel.function("foobar") ? { printf("%d\n", $badparam) } ... and you'll get the correct "no probes found" error, without looking up the parameter. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID http://sourceware.org/bugzilla/show_bug.cgi?id=4521 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.