From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12565 invoked by alias); 8 May 2006 20:58:54 -0000 Received: (qmail 12546 invoked by uid 48); 8 May 2006 20:58:47 -0000 Date: Mon, 08 May 2006 20:58:00 -0000 From: "joshua dot i dot stone at intel dot com" To: systemtap@sources.redhat.com Message-ID: <20060508205847.2645.joshua.i.stone@intel.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug translator/2645] New: Need a syntax to specify optional probes X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q2/txt/msg00340.txt.bz2 see http://sources.redhat.com/ml/systemtap/2006-q2/msg00286.html Summary of desired behavior: given probe FOO ? { } probe alias = BAR ?, BAZ ? { } If FOO is not found, then that probe should be discarded. If both BAR and BAZ are not found, there are two cases: probe alias { } // ERROR: probepoint not found probe alias ? { } // ok, probe is discarded Similarly, if a syscall "sys_foobar" isn't found: tapset: probe syscall.foobar = kernel.function("sys_foobar") ? {} user script: probe syscall.foobar {} // error, probepoint not found probe syscall.foobar ? {} // ok, probe is discarded probe syscall.* {} // ok if all non-optional syscall probes were found, // or if all are optional, then at least one was found -- Summary: Need a syntax to specify optional probes Product: systemtap Version: unspecified Status: NEW Severity: enhancement Priority: P2 Component: translator AssignedTo: systemtap at sources dot redhat dot com ReportedBy: joshua dot i dot stone at intel dot com http://sourceware.org/bugzilla/show_bug.cgi?id=2645 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.