This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: postgresql markers missing arguments
- From: Stan Cox <scox at redhat dot com>
- To: systemtap at sourceware dot org
- Date: Tue, 22 Jun 2010 15:21:33 -0400
- Subject: Re: postgresql markers missing arguments
- References: <4C1FAEAF.70808@redhat.com>
On 06/21/2010 02:25 PM, William Cohen wrote:
Is the compiler optimizing out some of the marker arguments?
loc2c-test will say what variables dwarf can find at a location:
./loc2c-test -e sdt_misc_V1-uprobe.x 0x400691
test_probe_4_semaphore [ 344] short unsigned int
arg1 [ 13a] int volatile
./loc2c-test -e /work/scox/systemtap/bld/testsuite/sdt_misc_V1-uprobe.x
0x400691 arg1
#define PROBEADDR 0x400691ULL
static void print_value(struct pt_regs *regs)
...