This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
RE: new systemtap snapshot available
- From: "Mao, Bibo" <bibo dot mao at intel dot com>
- To: <fche at sourceware dot org>, <systemtap at sources dot redhat dot com>
- Date: Tue, 8 Nov 2005 17:56:24 +0800
- Subject: RE: new systemtap snapshot available
When I compile profile.stp in EM64T and IA64 machine, maybe in PPC64 it has the same problem, but I have no PPC64 Box:). There will be such warning information that it can not compile.
/tmp/stapsOq5Wi/stap_19359.c: In function `function_accumulate':
/tmp/stapsOq5Wi/stap_19359.c:382: warning: cast from pointer to integer of different size.
And by the error information, I find the line:
l->__tmp3 = (((int)_stp_map_get_is (global_command, l->__tmp2))
And in runtime/map-gen.c function KEYSYM(_stp_map_get) return value type should be VALTYPE. It is int64_t.
So I modify translate.cxx,as follows:
string exists (vector<tmpvar> const & indices) const
{
return "(((int64_t)" + call_prefix("get", indices) + ")) != 0)";
}
And it will compile and run ok in my IA32, EM64T and IA64 box.
>-----Original Message-----
>From: systemtap-owner@sourceware.org [mailto:systemtap-owner@sourceware.org]
>On Behalf Of fche@sourceware.org
>Sent: 2005年11月5日 22:27
>To: systemtap@sources.redhat.com
>Subject: new systemtap snapshot available
>
>A new automated systemtap CVS snapshot is available.
>ftp://sources.redhat.com/pub/systemtap/snapshots/systemtap-20051105.tar.bz2
>328848 bytes