From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26234 invoked by alias); 9 May 2006 03:52:09 -0000 Received: (qmail 26212 invoked by uid 48); 9 May 2006 03:52:02 -0000 Date: Tue, 09 May 2006 03:52:00 -0000 Message-ID: <20060509035202.26211.qmail@sourceware.org> From: "bibo dot mao at intel dot com" To: systemtap@sources.redhat.com In-Reply-To: <20060508205847.2645.joshua.i.stone@intel.com> References: <20060508205847.2645.joshua.i.stone@intel.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug translator/2645] 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/msg00345.txt.bz2 ------- Additional Comments From bibo dot mao at intel dot com 2006-05-09 03:52 ------- what about this kind of tapset, user script should care nothing about whether is it optional or not. tapset: probe syscall.foobar = kernel.function("sys_foobar") ? {} optional probe syscall.foobar1 = kernel.function("sys_foobar1") {} non-optional user script: probe syscall.foobar {} // ok, probe is discarded probe syscall.foobar1 {} // ERROR: probepoint not found probe syscall.* {} // ok if all non-optional syscall probes were found, // or if all are optional, then at least one was found -- 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.