From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2129 invoked by alias); 16 Feb 2009 19:53:33 -0000 Received: (qmail 2102 invoked by uid 48); 16 Feb 2009 19:53:21 -0000 Date: Mon, 16 Feb 2009 19:55:00 -0000 Message-ID: <20090216195321.2101.qmail@sourceware.org> From: "scox at redhat dot com" To: systemtap@sources.redhat.com In-Reply-To: <20090121115616.9770.mjw@redhat.com> References: <20090121115616.9770.mjw@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug translator/9770] stap -l 'process("bla").mark("*")' should print marker names 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: 2009-q1/txt/msg00453.txt.bz2 ------- Additional Comments From scox at redhat dot com 2009-02-16 19:53 ------- This works fine, modulo one gets a line number instead of a label name, for gcc where there are DW_TAG_label that can be queried: stap -c ./static_uprobes.x -l 'process("static_uprobes.x").mark("*")' process("static_uprobes.x").function("bar@static_uprobes.c:11") process("static_uprobes.x").function("baz@static_uprobes.c:17") process("static_uprobes.x").function("baz@static_uprobes.c:20") process("static_uprobes.x").function("buz@static_uprobes.c:28") gcc compiled probes all use .label now. This is a tough one for g++ 4.3.2 because there are usually no DW_TAG_label to query so everything is done by converting info in .probe to .statement, therefore there is no obvious way to hook into the -l machinery. -- http://sourceware.org/bugzilla/show_bug.cgi?id=9770 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.