Thanks! Using fopen64 instead fixes this problem. ;)

--Carole



On Wed, Oct 21, 2009 at 11:41 AM, stephane eranian
<eran...@googlemail.com>wrote:

> On Wed, Oct 21, 2009 at 4:20 PM, Vince Weaver <vi...@csl.cornell.edu>
> wrote:
> > On Wed, 21 Oct 2009, Carole Wu wrote:
> >
> >> Hello,
> >>
> >> I am dumping pfmon statistics with --smpl-outfile=xxx with pebs enabled,
> and
> >> this is on Ubuntu with ext3 (Max. file size is 16G).
> >
> > Are you on a 32-bit machine?
> >
> > By default on 32-bit machines files cannot be longer than 2GB.  For
> larger
> > files, at open time the O_LARGEFILE flag has to be passed in to the open
> > syscall.
> >
> > You can use strace to see what flags are being passed at file open time.
> >
> > If the flag is missing, then the perf source would need to be fixed to
> > properly have it.
>
> The flag is not passed. I can fix that.
>
> >
> > Vince
> >
> >>
> >> Thanks,
> >> Carole
> >>
> >> On Tue, Oct 20, 2009 at 3:55 AM, stephane eranian <
> eran...@googlemail.com>wrote:
> >>
> >> > On Tue, Oct 20, 2009 at 1:34 AM, Carole Wu <cwu...@gmail.com> wrote:
> >> > > Hi,
> >> > > I am dumping pfmon statistics with --outfile=xxx. It seems like the
> >> > maximum
> >> > > trace file size is set 2GB. Is this a pfmon setting? If so, how can
> I
> >> > change
> >> > > this to larger?
> >> >
> >> > Are you talking about --outfile which dumps counts or --smpl-outfile
> which
> >> > dumps
> >> > profiles?
> >> >
> >> > What filesystem is this saved on?
> >> > Some filesystems have a 2GB file size limit.
> >> >
> >> > > Thanks in advance,
> >> > > Carole
> >> > >
> >> >
> ------------------------------------------------------------------------------
> >> > > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> >> > > is the only developer event you need to attend this year. Jumpstart
> your
> >> > > developing skills, take BlackBerry mobile applications to market and
> stay
> >> > > ahead of the curve. Join us from November 9 - 12, 2009. Register
> now!
> >> > > http://p.sf.net/sfu/devconference
> >> > > _______________________________________________
> >> > > perfmon2-devel mailing list
> >> > > perfmon2-devel@lists.sourceforge.net
> >> > > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
> >> > >
> >> > >
> >> >
> >>
> >
> > --
> > /*  Vince Weaver  vi...@csl.cornell.edu  http://csl.cornell.edu/~vince */
> >
> > main(){char O,o[66]="|\n\\/_
>  ",*I=o+7,l[]="B!FhhBHCWE9C?cJFKET$+h'Iq*chT"
> > ,i=0,_;while(_=l[i++])for(O=0;O++<_>>5;)*I=*(I++-(_&31));*I=0;puts(o+5);}
> >
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to