This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: loc2-test and stap disagree with each other
- From: Roland McGrath <roland at redhat dot com>
- To: Hien Nguyen <hien at us dot ibm dot com>
- Cc: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Thu, 13 Jul 2006 15:29:54 -0700 (PDT)
- Subject: Re: loc2-test and stap disagree with each other
> Here's the location list info
>
> [43c0e6] variable
> name "prev"
> decl_file 1
> decl_line 2867
> type [42eaaf]
> location location list [ 80ad5]
>
> [ 80ad5] 0xc00000000036c540..0xc00000000036c540 [ 0] reg31
> 0xc00000000036c540..0xc00000000036c70c [ 0] reg27
> 0xc00000000036c790..0xc00000000036c7ec [ 0] reg31
> 0xc00000000036c9bc..0xc00000000036cbb0 [ 0] reg31
> 0xc00000000036cd54..0xc00000000036cdc8 [ 0] reg31
> 0xc00000000036cdcc..0xc00000000036ce70 [ 0] reg31
> 0xc00000000036d180..0xc00000000036d230 [ 0] reg31
> 0xc00000000036d248..0xc00000000036d278 [ 0] reg31
> 0xc00000000036d288..0xc00000000036d2c4 [ 0] reg31
>
> Here's the assembly listing for schedule, probe is inserted at offset
The location list uses absolute addresses. You gave a disassembly listing
that only gives addresses relative to the start of the function. Please
post something with consistent use of offsets so it's possible to match up
the addresses.
Thanks,
Roland