[FFmpeg-devel] gprof and FFmpeg

David LIU david.liu
Thu Jun 19 11:27:27 CEST 2008


> -----Original Message-----
> From: ffmpeg-devel-bounces at mplayerhq.hu
[mailto:ffmpeg-devel-bounces at mplayerhq.hu] On Behalf Of M?ns Rullg?rd
> Sent: Thursday, June 19, 2008 11:23 AM
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] gprof and FFmpeg

>Mike Melanson <mike at multimedia.cx> writes:

>> Hi,
>>
>> I would like to profile certain portions of FFmpeg using gprof. But 
>> when I try to compiler FFmpeg using the --enable-gprof option, the 
>> compilation process dies of register exhaustion. Yeah, you know the
>> error: "can't find a register in class 'GENERAL_REGS' while reloading 
>> 'asm'". This is with 4.1.3 and 4.3.0 on x86_32.

>This is to be expected.  Maybe it will compile with --disable-mmx.

>> Has anyone tried using gprof with FFmpeg lately? I try using oprofile 
>> but I rarely have much luck getting it set up.

> Oprofile is generally much more reliable than gprof.  What kind of
problems are you having?

[David] This is what I will do later. And I agree Oprofile is better to use.

> --
> M?ns Rullg?rd
> mans at mansr.com
_______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel





More information about the ffmpeg-devel mailing list