src/sim/common ChangeLog sim-profile.c sim-pro ...
vapier@sourceware.org
vapier@sourceware.org
Thu Apr 22 00:26:00 GMT 2010
CVSROOT: /cvs/src
Module name: src
Changes by: vapier@sourceware.org 2010-04-22 00:26:12
Modified files:
sim/common : ChangeLog sim-profile.c sim-profile.h
Log message:
sim: profile: implement --profile-file backend
The profile code already has options and handling for accepting a file to
write the profile output like the trace code, but it doesn't actually use
it. At the moment, it simply opens the file at the start and closes it at
the end. So add two new local functions the way the trace code is doing
it and have them figure out whether to write the output to stdout or the
specified file. Then convert all existing output in the profile code to
use these helpers.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/ChangeLog.diff?cvsroot=src&r1=1.216&r2=1.217
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-profile.c.diff?cvsroot=src&r1=1.13&r2=1.14
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-profile.h.diff?cvsroot=src&r1=1.9&r2=1.10
More information about the Gdb-cvs
mailing list