From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Tromey To: Eli Zaretskii Cc: jason-swarelist@molenda.com, gdb-patches@sources.redhat.com Subject: Re: [RFA] patch to add 'maint profile-gdb' command Date: Wed, 12 Sep 2001 11:58:00 -0000 Message-id: <87ofogdy1d.fsf@creche.redhat.com> References: <20010911013721.A25996@shell17.ba.best.com> <20010911235955.A21595@shell17.ba.best.com> <7263-Wed12Sep2001155646+0300-eliz@is.elta.co.il> <20010912074141.A17732@shell17.ba.best.com> <2950-Wed12Sep2001190334+0300-eliz@is.elta.co.il> X-SW-Source: 2001-09/msg00168.html >>>>> "Eli" == Eli Zaretskii writes: Eli> I'm mostly worried about getting noise into the profile, due to Eli> profiling that starts as soon as GDB starts running, until you Eli> turn it off with moncontrol. That noise might hide interesting Eli> details, and might trick a developer to dismiss important Eli> findings as noise. moncontrol(0) is called as the second thing in main(). That's pretty early. My experience with this patch from when I wrote it is that the startup noise is ignorable. If it shows up anywhere near the top of your call graph then you probably don't have a real performance problem to worry about. Tom