BIND 10 #1565: document how to profile - gprof
BIND 10 Development
do-not-reply at isc.org
Mon Feb 6 17:56:21 UTC 2012
#1565: document how to profile - gprof
-------------------------------------+-------------------------------------
Reporter: jelte | Owner: haikuo
Type: task | Status: reviewing
Priority: major | Milestone:
Component: | Sprint-20120207
Unclassified | Resolution:
Keywords: | Sensitive: 0
Defect Severity: N/A | Sub-Project: DNS
Feature Depending on Ticket: | Estimated Difficulty: 0
Add Hours to Ticket: 0 | Total Hours: 0
Internal?: 0 |
-------------------------------------+-------------------------------------
Changes (by vorner):
* owner: vorner => haikuo
Comment:
Hello
I'd have few minor details:
By „Assign “pg” to CXXFLAGS“ you mean CXXFLAGS='-pg'? Did the dash get
eaten by wiki formatting?
The diff output would be better as unified diff, to see the context around
it. This way, if we change the source file of boss, the line numbers might
get wrong.
Does your system really have a capital 'G' in 'Gprof'? Mine is with
lowercase, so I believe this could be a result of some editor automatic
correction, or something like that.
With regard to the profiling variables being in boss, I don't really like
that. And I don't think an ordinary user ever wants to do profiling, if
someone wanted to do that, he would be a developer already and editing a
little bit of code shouldn't be a big problem.
I thought of a different way to handle this. The file is saved to the
current directory where the program exits. Maybe having a different
directory to run in for each of the processes would be helpful. But
changing the directories has the same problem as changing the environment,
we are adding support for profiling when most users don't want it.
Thank you
--
Ticket URL: <http://bind10.isc.org/ticket/1565#comment:9>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list