From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24224 invoked by alias); 11 Jun 2009 06:58:54 -0000 Received: (qmail 24145 invoked by uid 48); 11 Jun 2009 06:58:35 -0000 Date: Thu, 11 Jun 2009 06:58:00 -0000 Message-ID: <20090611065835.24144.qmail@sourceware.org> From: "ananth at in dot ibm dot com" To: systemtap@sources.redhat.com In-Reply-To: <20090603083354.10231.prerna@linux.vnet.ibm.com> References: <20090603083354.10231.prerna@linux.vnet.ibm.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug testsuite/10231] Systemtap variable references fail on custom kernels built on RHEL 5.3 on ppc64 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-q2/txt/msg00827.txt.bz2 ------- Additional Comments From ananth at in dot ibm dot com 2009-06-11 06:58 ------- [ananth@... ~]$ gdb latest/linux-2.6.30-rc8/vmlinux ... (gdb) info scope do_fork Scope for do_fork: Symbol clone_flags is a variable with multiple locations, length 8. Symbol stack_start is a variable with multiple locations, length 8. Symbol regs is a variable with multiple locations, length 8. Symbol stack_size is a variable with multiple locations, length 8. Symbol parent_tidptr is a variable with multiple locations, length 8. Symbol child_tidptr is a variable with multiple locations, length 8. Symbol p is a variable with multiple locations, length 8. Symbol trace is a variable with multiple locations, length 4. Symbol nr is a variable with multiple locations, length 8. Symbol count is in static storage at address 0xc00000000080a2d8, length 4. Also using $$parms, stap is able to decode parameter names: [ananth@... ~]$ stap -ve 'probe kernel.function("do_fork") { printf("%s\n", $$parms) exit() }' Pass 1: parsed user script and 55 library script(s) in 640usr/10sys/716real ms. Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0 global(s) in 550usr/980sys/1779real ms. Pass 3: translated to C into "/tmp/staprB28ja/stap_af541a9acb56640cfdb92d9022e5fbf7_780.c" in 1370usr/990sys/2756real ms. Pass 4: compiled C into "stap_af541a9acb56640cfdb92d9022e5fbf7_780.ko" in 6790usr/1000sys/12479real ms. Pass 5: starting run. clone_flags=? stack_start=? regs=? stack_size=? parent_tidptr=? child_tidptr=? Pass 5: run completed in 10usr/50sys/8486real ms. -- http://sourceware.org/bugzilla/show_bug.cgi?id=10231 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.