Commit a788196e authored by Måns Rullgård's avatar Måns Rullgård

Remove --enable-gprof flag

gprof is far too intrusive to be of use as a profile for ffmpeg,
and it fails to build in many configurations.  Oprofile is a
better tool for profiling on Linux.

Originally committed as revision 23807 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 69d12904
...@@ -237,7 +237,6 @@ Advanced options (experts only): ...@@ -237,7 +237,6 @@ Advanced options (experts only):
Developer options (useful when working on FFmpeg itself): Developer options (useful when working on FFmpeg itself):
--disable-debug disable debugging symbols --disable-debug disable debugging symbols
--enable-debug=LEVEL set the debug level [$debuglevel] --enable-debug=LEVEL set the debug level [$debuglevel]
--enable-gprof enable profiling with gprof [$gprof]
--disable-optimizations disable compiler optimizations --disable-optimizations disable compiler optimizations
--enable-extra-warnings enable more compiler warnings --enable-extra-warnings enable more compiler warnings
--disable-stripping disable stripping of executables and shared libraries --disable-stripping disable stripping of executables and shared libraries
...@@ -857,7 +856,6 @@ CONFIG_LIST=" ...@@ -857,7 +856,6 @@ CONFIG_LIST="
fft fft
golomb golomb
gpl gpl
gprof
gray gray
h264dsp h264dsp
hardcoded_tables hardcoded_tables
...@@ -2714,11 +2712,6 @@ elif enabled tms470; then ...@@ -2714,11 +2712,6 @@ elif enabled tms470; then
add_cflags -pds=824 -pds=837 add_cflags -pds=824 -pds=837
fi fi
if enabled gprof; then
add_cflags -p
add_ldflags -p
fi
enabled_any $THREADS_LIST && enable threads enabled_any $THREADS_LIST && enable threads
check_deps $CONFIG_LIST \ check_deps $CONFIG_LIST \
...@@ -2784,7 +2777,6 @@ fi ...@@ -2784,7 +2777,6 @@ fi
if enabled sparc; then if enabled sparc; then
echo "VIS enabled ${vis-no}" echo "VIS enabled ${vis-no}"
fi fi
echo "gprof enabled ${gprof-no}"
echo "debug symbols ${debug-no}" echo "debug symbols ${debug-no}"
echo "strip symbols ${stripping-no}" echo "strip symbols ${stripping-no}"
echo "optimizations ${optimizations-no}" echo "optimizations ${optimizations-no}"
......
...@@ -53,11 +53,6 @@ put_pixels_axp_asm: ...@@ -53,11 +53,6 @@ put_pixels_axp_asm:
.frame sp, 0, ra .frame sp, 0, ra
.prologue 0 .prologue 0
#if CONFIG_GPROF
lda AT, _mcount
jsr AT, (AT), _mcount
#endif
and a1, 7, t0 and a1, 7, t0
beq t0, $aligned beq t0, $aligned
...@@ -150,11 +145,6 @@ put_pixels_clamped_mvi_asm: ...@@ -150,11 +145,6 @@ put_pixels_clamped_mvi_asm:
.frame sp, 0, ra .frame sp, 0, ra
.prologue 0 .prologue 0
#if CONFIG_GPROF
lda AT, _mcount
jsr AT, (AT), _mcount
#endif
lda t8, -1 lda t8, -1
lda t9, 8 # loop counter lda t9, 8 # loop counter
zap t8, 0xaa, t8 # 00ff00ff00ff00ff zap t8, 0xaa, t8 # 00ff00ff00ff00ff
...@@ -205,11 +195,6 @@ add_pixels_clamped_mvi_asm: ...@@ -205,11 +195,6 @@ add_pixels_clamped_mvi_asm:
.frame sp, 0, ra .frame sp, 0, ra
.prologue 0 .prologue 0
#if CONFIG_GPROF
lda AT, _mcount
jsr AT, (AT), _mcount
#endif
lda t1, -1 lda t1, -1
lda th, 8 lda th, 8
zap t1, 0x33, tg zap t1, 0x33, tg
......
...@@ -55,11 +55,6 @@ pix_abs16x16_mvi_asm: ...@@ -55,11 +55,6 @@ pix_abs16x16_mvi_asm:
.frame sp, 0, ra, 0 .frame sp, 0, ra, 0
.prologue 0 .prologue 0
#if CONFIG_GPROF
lda AT, _mcount
jsr AT, (AT), _mcount
#endif
and a2, 7, t0 and a2, 7, t0
clr v0 clr v0
beq t0, $aligned beq t0, $aligned
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment