[Ffmpeg-devel] [PATCH] FFserver signal handler
Wed Feb 21 14:19:59 CET 2007
Alex Beregszaszi wrote:
> I didnt found a way, altought didnt searched extensively. Originally I
> wanted to call the profile dump on SIGHUP.
> I understand the best would be adding only SIGINT and SIGTERM.
And you have to look everywhere for other changes to signals, which
could override yours.
Frankly, I wonder whether its worth spending time on gprof, which is
pretty much useless in my experience with ffmpeg. Why not try instead to
move to say, oprofile? I admit having no experience with it, but I read at
"Note that unlike gprof, no instrumentation (-pg and -a options to gcc)
Periodically (or on opcontrol --shutdown or opcontrol --dump) the
profile data is written out into the /var/lib/oprofile/samples
directory. These profile files cover shared libraries, applications, the
kernel (vmlinux), and kernel modules. You can get summaries of this data
in a number of ways at any time."
which sounds great.
T +32  2 790 29 41
F +32  2 790 29 02
E mailto:mbardiaux at mediaxim.be
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
More information about the ffmpeg-devel